
22 Sep
2005
22 Sep
'05
5:03 a.m.
Michael Vanier
import Prelude hiding length
whereas the correct syntax is
import Prelude hiding (length)
I spent nearly an hour beating my head against this. Can someone fix this in the documentation?
Or, alternatively, fix the Haskell syntax? It would be more consistent with qualified type declarations [e.g. (Eq a, Ord a ) => a -> a vs. Eq a => a -> a ] or deriving clauses. -k -- If I haven't seen further, it is by standing in the footprints of giants