cvs commit: hugs98/lib Prelude.hs
Sigbjorn Finne
sof@glass.cse.ogi.edu
Wed, 31 Oct 2001 15:18:05 -0800
sof 2001/10/31 15:18:04 PST
Modified files:
lib Prelude.hs
Log:
Bunch of (revised)H98 related changes:
- moved isAscii, isControl, isPrint, digitToInt, intToDigit out
to their proper home, Char.
- make Char predicates ISO 8859-1 savvy.
- track H98 changes to 'scanl1' and 'scanr1' (well-defined on empty lists).
- track H98 changes to 'take', 'drop' and 'splitAt' (negative first args
are now treated as being equal to 0, i.e., no longer an error).
- Monad{IO}.fail now propagates the failure string as an IO user error.
Revision Changes Path
1.16 +39 -43 hugs98/lib/Prelude.hs