1 Mar
2001
1 Mar
'01
7:42 p.m.
i'm tinkering with the Feb 2001 release of hugs, and came across the following problem while attempting to create my own prelude: module MyPrelude where import Prelude((:)) hd(x:xs) = x ... The compiler complains of a syntax error occuring in the import declaration: (unexpected symbol ":"). I may well be mistaken since i am somewhat new to haskell programming, but it seems to me that i ought to be able to explicitly import the list type constructor just like any other identifier. Thanks for a doing a great job supporting hugs, and keep up the good work... ________________________________ Jonathon Bell jbell@mathsoft.com MathSoft, Inc. www.mathsoft.com 101 Main St, Cambridge, MA 02142 (617) 577-1017 x745