[Haskell-cafe] Re: [Haskell] Issue about use of WinHugs

Neil Mitchell ndmitchell at gmail.com
Fri Aug 24 06:17:29 EDT 2007


Hi

> I'm new to WinHugs, what's wrong with isUpper of my WinHugs?

Nothing. The book/tutorial you are going from is out of date. Before
using the isUpper/isLower functions you first have to type ":load
Char":

Hugs> :load Char
Hugs> filter isUpper "ABCDEfgh"
"ABCDE"

The ":load Char" loads the Char module into scope, which provides the
isUpper function.

The haskell@ mailing list is mainly for announcements, so I've sent
this email to haskell-cafe@ - which is the right place for questions
like this.

Thanks

Neil


More information about the Haskell-Cafe mailing list