
26 Aug
2008
26 Aug
'08
9:39 a.m.
Hi Using the book by Hutton and in chapter 5 it talks about 'ord' and 'chr' being in the standard prelude. paulj@opensolaris4:~$ ghci GHCi, version 6.8.3: http://www.haskell.org/ghc/ :? for help Loading package base ... linking ... done. Prelude> ord 3 <interactive>:1:0: Not in scope: `ord' Prelude> chr 67 <interactive>:1:0: Not in scope: `chr' Prelude> They seem to do what you would expect from their perl counterparts Any ideas? Cheers Paul