[project @ 1999-01-21 20:15:30 by sof]
authorsof <unknown>
Thu, 21 Jan 1999 20:15:32 +0000 (20:15 +0000)
committersof <unknown>
Thu, 21 Jan 1999 20:15:32 +0000 (20:15 +0000)
commit4864e32ad1c683c7fc569d6aa5f2c605076abdbe
treea8af0fe3711d85f28fbcb4c9c1fc098bbc052341
parent718754ae4f9230b9ecb2e0e47e25e1e101bfe41b
[project @ 1999-01-21 20:15:30 by sof]
Enum instances updated to comply with the behaviour that
Haskell 98 specifies. Notable changes,

  * [a..b] is not the empty list when a>b any longer.
  * [x..] and [x,y..] for Enum Int are now bounded lists.

The first change is might be worth bearing in mind when converting
1.4 code to Haskell 98; functions may have made use of the
old behaviour.
ghc/lib/std/PrelBase.lhs
ghc/lib/std/PrelBounded.lhs
ghc/lib/std/PrelHandle.lhs
ghc/lib/std/PrelNum.lhs
ghc/lib/std/PrelNumExtra.lhs