packages feed

deterministic-game-engine 0.3.0 → 0.3.1

raw patch · 2 files changed

+5/−5 lines, 2 filesdep ~deterministic-game-enginePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: deterministic-game-engine

API changes (from Hackage documentation)

Files

deterministic-game-engine.cabal view
@@ -1,5 +1,5 @@ name:                deterministic-game-engine-version:             0.3.0+version:             0.3.1 synopsis:            Simple deterministic game engine description:         Haskell library for creating simple deterministic games,                      such as tic-tac-toe. The engine requires a minimal set of@@ -42,6 +42,6 @@   type:                exitcode-stdio-1.0   build-depends:       base <5.0,                        hspec >=2.1 && <2.2,-                       deterministic-game-engine ==0.3.0+                       deterministic-game-engine ==0.3.1    default-language:    Haskell2010
src/Game/Deterministic/GameEngine.hs view
@@ -7,12 +7,12 @@  Simple generic example below. See the specs for a more detailed example. -> import GameEngine+> import Game.Deterministic.GameEngine >-> game :: GameEngine Int Int+> game :: Monad m => GameEngine m Int Int > game = GameEngine gameActions initialState >-> gameActions :: GameActions Int Int+> gameActions :: Monad m => GameActions m Int Int > gameActions = GameActions { >    getPlayer  = -- find the next player from a game state, >    getMove    = -- find a move from the game state,