i am moving fom the nov 99 to the nov 02 hugs.exe (under windows) when recompiling old files i find two problems which i do not understand:
i want to export (:) from the prelude because i do not use the standard prelude usually. module XX ( (:), ....) does not work (it did before). now i get the error "illegal export of lone data constructor" i do not see any hint in the report (nov 99) that (:) cannot be exported. (it may be unusual, but not illegal?) the goal is to export certain functions from the prelude (especially (:), which cannot be redefined) but not all of it. how can this be achieved? (minor point: my report says that the prelude module is always available as qualified import (p. 71) the hugs now (2002) seem to require an explicite import qualified (after a import Prelude hiding (stuff)) ) i would appreciate an answer on the first question (export of (:)) andrew Andrew U. Frank Geoinformation E127 phone: +43 1 588 01 12710 TU Vienna secr. +43 1 588 01 12700 Gusshausstrasse 27-29 fax +43 1 588 01 12799 A-1040 Vienna Austria cellular phone +43 676 41925 72 http://www.geoinfo.tuwien.ac.at/persons/frank/frank.html _______________________________________________ Hugs-Bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/hugs-bugs
