--- On Fri, 10/17/08, Achim Schneider <[EMAIL PROTECTED]> wrote:
> > > declarations = [d|
> > > foo = "bar"
> > > bar = "foo"
> > > |]
> -fth doesn't make a difference here, I'm using
> -XTemplateHaskell with
> ghc 6.8.3
>
The following lines, verbatim, pasted into a file, work for me with 6.8.3 with
no command line options:
{-# LANGUAGE TemplateHaskell #-}
module TH where
import Language.Haskell.TH
declarations = [d|
foo = "bar"
bar = "foo"
|]
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe