concept these method in category haskell
appears as: These methods, se methods

This is an excerpt from Manning's book Haskell in Depth.
These methods allows to go from the
atype toIntand back with thefromEnumandtoEnumfunctions, respectively. This defines an enumeration, that can be then used to get successors, predecessors, and lists of values of theatype.
To construct a monad stack able to handle these methods, we use the
ExceptTmonad transformer and therunExceptTrunner: