[Haskell-cafe] chr/ord?

michael rice nowgate at yahoo.com
Tue Apr 28 21:08:25 EDT 2009


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 at 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> 







      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090428/6c3e7bd3/attachment.htm


More information about the Haskell-Cafe mailing list