toUpper is in the Char (or Data.Char) library. You can do: Prelude> :m Data.Char Data.Char> map toUpper "hello world"
or specify it completely. Prelude> map Data.Char.toUpper "hello world" I'll fix this reference in YAHT. I believe that Hugs automatically exports toUpper, which is why it was in there to begin with. - Hal -- Hal Daume III | [EMAIL PROTECTED] "Arrest this man, he talks in maths." | www.isi.edu/~hdaume -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Espinoza Sent: Friday, June 27, 2003 7:53 AM To: [EMAIL PROTECTED] Subject: Help with ghci and Yet Another Haskell Tutorial Greetings, I am going through the Tutorial using ghc on a redhat 8.0 system. Everything works fine untill I get to the map function: Prelude> map toUpper "hello world" <interactive>:1: Variable not in scope: `toUpper' Prelude> Can anyone tel me what is or might be going on? Thanks. Sincerely, Mark Get your free e-mail address at http://felinemail.zzn.com ___________________________________________________________ Get your own Web-based E-mail Service at http://www.zzn.com _______________________________________________ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe _______________________________________________ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
