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

Reply via email to