[Template-haskell] $f syntax in declaration position don't work (in contrast to $(f) )

Bulat Ziganshin bulatz at HotPOP.com
Wed Nov 16 12:00:56 EST 2005


Hello template-haskell,

$f syntax in declaration position don't work. for example, the
following code fails to compile:

module Main where
import Sub(f)
$f

if we change last line to the

$(f)

it works as expected. is it a bug or undocumented feature? ;)



-- 
Best regards,
 Bulat                          mailto:bulatz at HotPOP.com





More information about the template-haskell mailing list