That's right, ghc's parser doesn't accept btypes here just atypes (cf. the report's grammar). Fixed in the new & upcoming parser. --sigbjorn Koen Claessen <[EMAIL PROTECTED]> writes: > > The following program gives errors with GHC-4.01: > > data Def f = String := f String > > I had to put parantheses around "f String": > > data Def f = String := (f String) > > I think this is a bug; Hugs and HBC accept it. > > Koen. > > -- > Koen Claessen, > [EMAIL PROTECTED], > http://www.cs.chalmers.se/~koen, > Chalmers University of Technology. >
