(no subject)
Jonathon Bell
jbell@mathsoft.com
Fri, 16 Mar 2001 12:27:08 -0500
Hi guys,
Thanks for the great work on hugs. I have a possible minor bug. Consider the
following:
import Prelude()
foo = [(i,j) | i<-[0] | j<-[0]]
Evaluating 'foo' generates the runtime error:
Program error: {foo_zip}
presumably because a call is implicilty being made to the standard prelude
function zip which i have hidden. This arose because i am using hugs to
develop my own 'prelude' to simulate an initial environment for a domain
specific language i am creating, and in this custom langauge zip is defined
differently. Interestingly, impilcit calls to map' and 'filter' made by the
list comprehensions don't appear to suffer from the same problem.
Regards,
________________________________
Jonathon Bell jbell@mathsoft.com
MathSoft, Inc. www.mathsoft.com
101 Main St, Cambridge, MA 02142
(617) 577-1017 x745