[Haskell] Undefined of Char.toUpper ?

Christian Maeder maeder at tzi.de
Wed Apr 27 05:08:55 EDT 2005

Luo Shuli wrote:
> Dear Haskellers,
> I am a beginer of the haskell language and study it from <<Yet Another
> Haskell Tutarial>> of Hal Daume III.
> Example  from the tutarial:
>     Prelude> map Char.toUpper "Hello World"

This works only with ghci

> I try it on Hugs for windows32, compile error:
>       ERROR - Undefined qualified variable "Char.toUpper"
> Could anybody tell me what's the matter with it?

In hugs load "Char" first with ":l Char" and then use toUpper unqualified:

   Char>  map toUpper "Hello World"


More information about the Haskell mailing list