I have a function, and I'd like to make it look like a Seq. How can I do that?

The original funcion looks like:
    
    
    theFunction(a:ptr VSMap, idx:int):string =
        ....
    
    Run

and I would like to be able to use it like this:
    
    
    a[idx]
    
    Run

Reply via email to