$f syntax in declaration position don't work (in contrast to $(f) )

Bulat Ziganshin <[email protected]> Wed, 16 Nov 2005 20:00:56 +0300
Newsgroups gmane.comp.lang.haskell.template
Message-ID <[email protected]>
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:[email protected]