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
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
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
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
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
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