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


Reply via email to