I am again stuck. Who could help, please?
module T
where
import Prelude ( tail, (.) ) -- List(..) ?
f = tail . tail
g (x:xs) = xs
T wants to import explicitly tail, (.), <List data>.
-----------
tail, (.) work, and (:) does not, it requires
g (x Prelude.: xs) = xs
Thank you in advance for the hint.
------------------
Sergey Mechveliani
[EMAIL PROTECTED]
- Re: 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
