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

Fails to compile on GHC 7.4 #5

Closed Sgeo closed 11 years ago

Sgeo commented 11 years ago

Don't know if my setup is just weird or something, but this is what I got after trying to cabal install it:

[ 9 of 11] Compiling Graphics.FreeGame.Backends.GLFW ( Graphics/FreeGame/Backends/GLFW.hs, dist/build/Graphics/FreeGame/Backends/GLFW.o )

Graphics/FreeGame/Backends/GLFW.hs:152:1: Non type-variable argument in the constraint: MonadFree GameAction m (Use -XFlexibleContexts to permit this) In the type signature for runGame': runGame' :: GameParam -> (forall m. MonadFree GameAction m => m a) -> IO (Maybe a) cabal: Error: some packages failed to install: free-game-0.3.2.2 failed during the building phase. The exception was: ExitFailure 1

fumieval commented 11 years ago

I think it is already fixed (since this commit). Please try cabal update && cabal install free-game.

Sgeo commented 11 years ago

That works, thank you.