Tim Wawrzynczak <inforichl...@gmail.com> writes: > On Tue, Apr 28, 2009 at 8:08 PM, michael rice <[1]nowg...@yahoo.com> > wrote: > > 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, those functions are not in the Prelude, they're in Data.Char. But they're not really necessary anyway: Prelude> fromEnum 'A' 65 Prelude> toEnum 42::Char '*' -- Jón Fairbairn jon.fairba...@cl.cam.ac.uk http://www.chaos.org.uk/~jf/Stuff-I-dont-want.html (updated 2009-01-31) _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe