
7 Oct
2004
7 Oct
'04
6:10 a.m.
I'm an utter noob to Haskell, and FP in gnereal. I would like to create a function taking an argument which is a function (actually an equation taking no args, but dependent on other equations), which prints the name of the function and and it's result. Is there a way of doing this in Haskell? Sounds like a job for macros, or some kind of introspection-type stuff.