Hi!

If I have for example the code like this:
    
    
    import typeinfo
    
    proc testProc(s: string) =
      echo "do something with ", s
    
    var a = testProc
    var anyProc = toAny(a)
    echo(kind(anyProc))
    ???
    

What should I use in place of ??? to get the parameters list of the procedure?

Is there some reflection API in nim to call the _testProc_ via _anyProc_ 
variable? 

Reply via email to