
28 Apr
2009
28 Apr
'09
9:08 p.m.
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>