Yes: https://ghc.haskell.org/trac/ghc/ticket/8833
Austin is looking at this for the 7.8 release

Simon

| -----Original Message-----
| From: ghc-devs [mailto:ghc-devs-boun...@haskell.org] On Behalf Of Kazu
| Yamamoto
| Sent: 11 March 2014 06:32
| To: ghc-devs@haskell.org
| Subject: Template Haskell of GHC 7.8 (again)
| 
| Hi,
| 
| With the attached file, say Printf.hs, GHCi 7.6.3 works
| as follows:
| 
|       % ghci Printf.hs
|       [1 of 1] Compiling Printf           ( Printf.hs, interpreted )
|       Ok, modules loaded: Printf.
|       > :set -XTemplateHaskell
|       > putStrLn ( $(pr "Hello") )
|       Hello
| 
| "Hello" is printed. Good. However, with GHC 7.8, the following error
| occurs:
| 
|       % ghci Printf.hs
|       [1 of 1] Compiling Printf           ( Printf.hs, interpreted )
|       Ok, modules loaded: Printf.
|       > :set -XTemplateHaskell
|       > putStrLn ( $(pr "Hello") )
|       unknown package: main
| 
| Is this a bug of Template Haskell of GHC 7.8?
| 
| --Kazu
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to