fumieval / free-game

The free game engine
http://hackage.haskell.org/package/free-game
BSD 3-Clause "New" or "Revised" License
64 stars 15 forks source link

use ExceptT #34

Closed cosmo0920 closed 10 years ago

cosmo0920 commented 10 years ago

In mtl-2.2 ErrorT and Error are deprecated. see: https://hackage.haskell.org/package/mtl-2.2.1/docs/Control-Monad-Error.html

Deprecated: Use Control.Monad.Except instead

So, it replaces:

And it is breaking changes.

#if MIN_VERSION_transformers(0,4,0)

Using above macro makes be able to compile under transformers < 0.4.0 environment.