Prodded by your mail, I've gotten back to hs-boot files. I've fixed the
HEAD so that both class and instance declarations are allowed in hs-boot
files. But not 'deriving'!
Simon
| -Original Message-
| From: Gaal Yahas [mailto:[EMAIL PROTECTED]
| Sent: 11 August 2006 21:06
| To: Simon Pey
You can't use 'deriving' in hs-boot files, nor instance declarations.
In the HEAD (and hence in 6.6) you can put instance declarations in
though, thus:
data DT2
instance Show DT2
Simon
| -Original Message-
| From: Gaal Yahas [mailto:[EMAIL PROTECTED]
| Sent: 11 August 20
Well I agree it's not ideal. But from what you say it's working as
advertised.
It's not easy to derive hs-boot from hs, because you probably don't want
to put all the type sigs in the hs file into the hs-boot file, because
that might create yet more dependencies for the hs-boot file. Also a
comm