Show and function types in 4.03

1999-06-03 Thread Conal Elliott
Did something change in 4.03 w.r.t. Show and functions? Mag stopped compiling: ghc-4.03 -c -O2 -fvia-C -O2-for-C -H20M UU_Pretty.hs UU_Pretty.hs:9: No instance for `Show (Int -> String -> String)' When deriving classes for

RE: Show and function types in 4.03

1999-06-03 Thread Simon Peyton-Jones
Cc: 'Oege de Moor' > Subject: Show and function types in 4.03 > > > > Did something change in 4.03 w.r.t. Show and functions? Mag stopped > compiling: > > ghc-4.03 -c -O2 -fvia-C -O2-for-C -H20M UU_Pretty.hs > > UU_Pretty.hs:9

RE: Show and function types in 4.03

1999-06-03 Thread Sigbjorn Finne (Intl Vendor)
Show over (->) is no longer Haskell(98). You need to define your own, if you need it. --sigbjorn > Conal Elliott [mailto:[EMAIL PROTECTED]] writes: > > > Did something change in 4.03 w.r.t. Show and functions? Mag stopped > compiling: > > ghc-4.03 -c -O2 -fvia-C -O2-for-C -H