There's any way I could implement a generic proc that can receive a proc with 
`{.nimcall.}` or `{.closure.}` calling convention? I now that if I specify the 
type as `{.closure.}` it can accept `{.nimcall.}` but this way is way more 
inneficient and is stored with two words. What I want is some way to have a 
struct like this:
    
    
    type FilterIterator[I,F,A] = object
        inner: I
        predicate: F
    
    
    Run

Where `F` is the type of a proc that if passed a `{.nimcall.}` will be stored 
efficiently. I don't know how to write the function to construct this object.

Sorry for my english.

Reply via email to