On Mon, 15 May 2000, S.D.Mechveliani wrote: > import Prelude ( tail, (.) ) -- List(..) ? [](..) or []([],(:)) And also: ()(..) or ()(()) AFAIR the report says that : is a special syntax that always refers to the Prelude thing, for consistency with the rest of the list syntax. But in GHC (:) must be imported like other constructors, where other list constructions are indeed magical - hmm, I guess GHC is not right here and should always understand (:). -- Marcin 'Qrczak' Kowalczyk
- import List(..) ? S.D.Mechveliani
- Re: import List(..) ? Fergus Henderson
- Re: import List(..) ? Marcin 'Qrczak' Kowalczyk
- Re: import List(..) ? Fergus Henderson
- Re: import List(..) ? Malcolm Wallace
- RE: import List(..) ? Simon Marlow
- Re: import List(..) ? Marcin 'Qrczak' Kowalczyk
- 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