> > Sun, 21 May 2000 17:26:13 +1000, Fergus Henderson <[EMAIL PROTECTED]> pisze: > On a related note, Hugs and ghc both allow the following module > > module Bar(List(..)) where > type List = [] > > without complaint, but according to the Haskell report (5.2) the > syntax `<typename>(..)' should only be used for algebraic data types, > not for type synonyms. This is stated on page 68 of the Hugs 98 report as a modest extension to the Haskell language. Dan Russell Kingston University
- RE: import List(..) ? Sigbjorn Finne
- Re: import List(..) ? Marcin 'Qrczak' Kowalczyk
- RE: import List(..) ? Simon Peyton-Jones
- Re: import List(..) ? Ketil Malde
- Re: import List(..) ? Fergus Henderson
- Re: import List(..) ? Claus Reinke
- Re: import List(..) ? Marcin 'Qrczak' Kowalczyk
- Re: import List(..) ? Fergus Henderson
- Re: import List(..) ? Marcin 'Qrczak' Kowalczyk
- Re: import List(..) ? Fergus Henderson
- Daniel Russell