make it compile with GHC 7.10.3 and fix almost all...
by
Peter Hercek
9 years 6 months
make it compile with GHC 7.10.3 and fix almost all warnings
* Monads must be Applicative now!
(this is the only change which is actually really required)
* move from deprecated Control.Monad.Error to Control.Monad.Except
* remove unsafe extractValue, extractError, and unused errorToMaybe
* drop MonadPlus on ThrowsState et st a; orTry is used instead
(mplus was not used like real Monoid (error container))
* line length at most 116 for easy comparison on 1920x1080 LCD
* get rid of identifier shadowing (especially the evil ones
which redefine prelude functions like id or init)
The goal was not to do any significant functionality change :-/