[redirecting to hugs-users] On Fri, Sep 08, 2006 at 03:30:11PM +0500, David Tolpin wrote: > I'm trying to use xmlrpc module with hugs. The problems are not really > related to this particulare module, so the question is here. > > A module generated from the DTD for XML-RPC by HaXml contains import in > the following form: > > import Prelude (all, maybe, (++)) > > or something like that to avoid name conflicts with types of the same name > defined in the module. In Hugs it leads to (:) not being imported into the > module. Is there a way to import just (:) from the Prelude? Is there a way > to import all but some symbols from some module? Is (:) a data constructor?
The (:) thing is a documented bug in Hugs: it should be special, but Hugs incorrectly treats it like a user-defined data constructor name. To make it also work with Hugs, you have to use the alternative form import Prelude hiding (various, conflicting, names) _______________________________________________ Hugs-Users mailing list Hugs-Users@haskell.org http://www.haskell.org/mailman/listinfo/hugs-users