Michael Vanier <[EMAIL PROTECTED]> writes:

>   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

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to