
Michael, those functions are not in the Prelude, they're in Data.Char.
On Tue, Apr 28, 2009 at 8:08 PM, michael rice
Hi,
My Prelude docs must be out of date because chr and ord don't seem to be there. How do I access these functions?
Michael
===============
[michael@localhost ~]$ ghci GHCi, version 6.10.1: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer ... linking ... done. Loading package base ... linking ... done. Prelude> chr 65
<interactive>:1:0: Not in scope: `chr' Prelude> ord 'A'
<interactive>:1:0: Not in scope: `ord' Prelude>
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe