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.
Isaac
_______________________________________________
Haskell mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell