I can't work our from the documentation whether Hugs is supposed
to allow
import Prelude (Nothing, Just)
(it does)
instead of
import Prelude (Maybe(Nothing, Just))
or
import Prelude (Maybe(..))

Similarly, how would import () only?
I tried
import Prelude (())
import Prelude (()(()))
import Prelude (()(..))
none of which was allowed. (This is worth trying with GHC too.)

At very least, I expect similar difficulties with importing the
list constructors.

--
Stephen Eldridge
phone: 0161-200-3352    email: [EMAIL PROTECTED]
Department of Computation, UMIST, Manchester M60 1QD

Reply via email to