[Haskell] Issue about use of WinHugs

Isaac Dupree isaacdupree at charter.net
Sat Aug 25 12:59:02 EDT 2007

Zhao, Bingfeng wrote:
> Hi, list
> I'm new to WinHugs, what's wrong with isUpper of my WinHugs?
> Hugs> filter isUpper "ABCDEfgh"
> ERROR - Undefined variable "isUpper"
> Hugs> filter Char.isUpper "ABCDEfgh"
> ERROR - Undefined qualified variable "Char.isUpper"
> Hugs> :version
> -- Hugs Version Sep 2006

Same with Hugs on Linux; it seems you need to do ":load Char" first, and 
use isUpper unqualified (as you did the first time).  Hugs confuses me a 
little here too.


More information about the Haskell mailing list