RE: ppr styles...

2004-09-06 Thread Simon Peyton-Jones
t: RE: ppr styles... | | I have added some of the required deriving clauses, however I now | get lots of warnings about: | | Bad eta expand | __coerce () | (CmmParse.zgzg {- v rnrp -} |@ () |@ () |(__coerce CmmParse.ExtCode {- tc rB2 -} happyzuxzu1 {- v

RE: ppr styles...

2004-09-06 Thread MR K P SCHUPKE
I have added some of the required deriving clauses, however I now get lots of warnings about: Bad eta expand __coerce () (CmmParse.zgzg {- v rnrp -} @ () @ () (__coerce CmmParse.ExtCode {- tc rB2 -} happyzuxzu1 {- v a1B9 -}) (__coerce CmmParse.ExtCode {- tc rB2

RE: ppr styles...

2004-09-06 Thread Simon Marlow
On 06 September 2004 11:11, MR K P SCHUPKE wrote: > Would it cause me any problems if I added "deriving Show" to all the > types in compiler/hsSyn? (Can't think of a problem here... is there > any reason why this is not done by default? - It is really handy if > trying to pattern match on code syn

RE: ppr styles...

2004-09-06 Thread MR K P SCHUPKE
Would it cause me any problems if I added "deriving Show" to all the types in compiler/hsSyn? (Can't think of a problem here... is there any reason why this is not done by default? - It is really handy if trying to pattern match on code syntax to be able to see what abstract syntax is generated b

RE: ppr styles...

2004-09-06 Thread Simon Marlow
On 06 September 2004 11:03, MR K P SCHUPKE wrote: > If I print out HsSyn types with pprTrace, I get: > > test{v} () = id{v} () > > or something similar (depending on the declaration). Is there > any way I can get it to print out the raw data structure? HsSyn doesn't have Show instances, so sorr

ppr styles...

2004-09-06 Thread MR K P SCHUPKE
If I print out HsSyn types with pprTrace, I get: test{v} () = id{v} () or something similar (depending on the declaration). Is there any way I can get it to print out the raw data structure? Keean. ___ Glasgow-haskell-users mailing list [EMAIL PROTECT