The latest version of prelude-safeenum is 0.1.1.3-0.
prelude-safeenum
Version 0.1.1.1 revision 0 uploaded by WrenThornton.
Package meta
- Synopsis
- A redefinition of the Prelude's Enum class in order to render it safe.
- Description
A redefinition of the Prelude's Enum class in order to render it safe. That is, the Haskell Language Report defines pred, succ, fromEnum, and toEnum to be partial functions when the type is Bounded, but this is unacceptable. We define a new type-class hierarchy for enumeration which is safe and also generalizes to cover types which can only be enumerated in one direction.
- Author
- wren ng thornton
- Bug reports
- n/a
- Category
- Prelude
- Copyright
- Copyright (c) 2012--2014 wren ng thornton
- Homepage
- http://code.haskell.org/~wren/
- Maintainer
- wren@community.haskell.org
- Package URL
- n/a
- Stability
- provisional