[Haskell-cafe] Can I determin the function name passed in?

Mark Carter mcturra2000 at yahoo.co.uk
Thu Oct 7 06:10:32 EDT 2004

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.

More information about the Haskell-Cafe mailing list