« Return to Thread: Hugs doesn't know List Difference operator (\\)

Re: Hugs doesn't know List Difference operator (\\)

by Scott Turner-6 :: Rate this Message:

Reply to Author | View in Thread

On 2008 May 14 Wednesday, leledumbo wrote:
> I'm reading some Haskell Tutorial when I arrive at List Difference
> operator, which is \\. But when I try on Hugs, it responded: ERROR -
> Undefined variable "\\"

Add 'import List' to your program.

Or if you're running the Hugs interpreter with no program, do
     Hugs> :l List

_______________________________________________
Hugs-Bugs mailing list
Hugs-Bugs@...
http://www.haskell.org/mailman/listinfo/hugs-bugs

 « Return to Thread: Hugs doesn't know List Difference operator (\\)