template haskell printf doesn't compile...
Simon Peyton-Jones
simonpj at microsoft.com
Fri Dec 3 08:54:14 EST 2004
Sorry Documentation out of date: consult the library documentation for
up to date info.
Change Expr to ExpQ
change string to stringE
| -----Original Message-----
| From: glasgow-haskell-users-bounces at haskell.org
[mailto:glasgow-haskell-users-
| bounces at haskell.org] On Behalf Of S. Alexander Jacobson
| Sent: 02 December 2004 20:21
| To: GHC users
| Subject: template haskell printf doesn't compile...
|
| Tried to use the printf TH example described in
| the GHC docs
|
|
http://www.haskell.org/ghc/docs/latest/html/users_guide/template-haskell
.html
|
| Got this error:
|
| Chasing modules from: PrintMain.hs
| Compiling Printf ( ./Printf.hs, ./Printf.o )
|
| ./Printf.hs:23: Type constructor or class not in scope: `Expr'
|
| ./Printf.hs:26: Variable not in scope: `string'
| ./Printf.hs:30: Type constructor or class not in scope: `Expr'
|
| Any clues?
|
| -Alex-
|
| ______________________________________________________________
| S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com
| _______________________________________________
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
More information about the Glasgow-haskell-users
mailing list