[Hugs] Hugs doesn't know List Difference operator (\\)

Scott Turner haskell at pkturner.org
Wed May 14 07:44:16 EDT 2008


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



More information about the Hugs-Bugs mailing list