Hello,
I have loaded the following from a file into ghci 6.2:
module Main where
import Language.Haskell.THSyntax
class Test a where
test :: a -> a
instance Test (a,b,c) where
test x = x
main = putStrLn "Hello, World!"
This works for me:
*Main> runQ [d| instance Test (Int,Int) |] >>
/~simonpj/tmp/notes2.ps
Simon
| -Original Message-
| From: [EMAIL PROTECTED]
[mailto:glasgow-haskell-users-
| [EMAIL PROTECTED] On Behalf Of Jeremy Shaw
| Sent: 31 December 2003 02:19
| To: [EMAIL PROTECTED]
| Subject: classes and template haskell (bug?)
|
| Hello,
|
| I have loaded the
ent programming interface
> too -- see
> http://research.microsoft.com/~simonpj/tmp/notes2.ps
>
> Simon
>
> | -Original Message-
> | From: [EMAIL PROTECTED]
> [mailto:glasgow-haskell-users-
> | [EMAIL PROTECTED] On Behalf Of Jeremy Shaw
> | Sent: 31 Decembe
; http://research.microsoft.com/~simonpj/tmp/notes2.ps
>
> Simon
>
> | -Original Message-
> | From: [EMAIL PROTECTED]
> [mailto:glasgow-haskell-users-
> | [EMAIL PROTECTED] On Behalf Of Jeremy Shaw
> | Sent: 31 December 2003 02:19
> | To: [EMAIL PROTECTED]
> | Sub
Jeremy Shaw wrote:
I attempted to build cvs head but it died with the following error:
/usr/bin/ghc6 -H16m -O -istage1/utils -istage1/basicTypes -istage1/types -istage1/hsSyn -istage1/prelude -istage1/rename -istage1/typecheck -istage1/deSugar -istage1/coreSyn -istage1/specialise -istag
users-
| [EMAIL PROTECTED] On Behalf Of Jeremy Shaw
| Sent: 02 January 2004 04:35
| To: [EMAIL PROTECTED]
| Subject: Re: classes and template haskell (bug?)
|
| Hello,
|
| No dice. Using cvs head from 12/31, I get the same behavior, (plus a
| new bug). Using the same test as before (after updatin