Re: Introspecting functions

2011-11-04 Thread Stathis Sideris
Although it doesn't directly answer your question, I have used (with- meta) to attach debug information to generated functions in the past. If you are writing function combinators you can even do this recursively by taking the existing debug info from a function that you generated before and combin

Introspecting functions

2011-11-03 Thread AndyK
Is it possible to print information about a function from within the repl? For example, after using comp or partial to create new functions, can you display the arity, the source, etc? I'm trying to debug a problem and it would be handy to be able to check that my dynamic funcitons are what I think