[Haskell-cafe] Looking up functions inQ monad (Template Haskell).

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Aug 18 10:03:53 EDT 2009


Hello Zefirov,

Tuesday, August 18, 2009, 5:55:19 PM, you wrote:

> Why isn't possible to lookup and call user-defined functions while
> performing Template Haskell actions?

if i understood correctly what you mean - it's possible. the function
just need to be defined in module imported by current one. defining
and using function in the same module isn't supported since it may be
tricky for language with global module analysis. Lisp just executes
lists as it reads them, so it doesn't have such problem

-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list