packages feed

t3-client 0.1.0.1 → 0.1.0.2

raw patch · 2 files changed

+19/−2 lines, 2 filesPVP: minor bump suggested

API additions: PVP suggests at least a minor version bump

API changes (from Hackage documentation)

+ T3.Client: Action :: XO -> Loc -> Action
+ T3.Client: Loc :: Int -> Int -> Loc
+ T3.Client: Lose :: a -> Lose a
+ T3.Client: O :: XO
+ T3.Client: Win :: a -> Win a
+ T3.Client: X :: XO
+ T3.Client: [actLoc] :: Action -> Loc
+ T3.Client: [actXO] :: Action -> XO
+ T3.Client: [locX] :: Loc -> Int
+ T3.Client: [locY] :: Loc -> Int
+ T3.Client: boardList :: Board -> [Maybe XO]
+ T3.Client: boardMap :: Board -> Map Loc XO
+ T3.Client: boardSize :: Board -> Int
+ T3.Client: data Action :: *
+ T3.Client: data Board :: *
+ T3.Client: data Loc :: *
+ T3.Client: data XO :: *
+ T3.Client: emptyBoard :: Board
+ T3.Client: insertXO :: Loc -> XO -> Board -> Board
+ T3.Client: inside :: Loc -> Board -> Bool
+ T3.Client: newtype Lose a :: * -> *
+ T3.Client: newtype Win a :: * -> *
+ T3.Client: result :: Board -> Result
+ T3.Client: run :: Game m => Board -> m ()
+ T3.Client: valid :: Loc -> Board -> Bool
+ T3.Client: yinYang :: XO -> XO

Files

src/T3/Client.hs view
@@ -1,5 +1,22 @@ module T3.Client-  ( UserCreds(..)+  ( XO(..)+  , Loc(..)+  , Action(..)+  , Result(..)+  , Board+  , yinYang+  , emptyBoard+  , boardMap+  , boardList+  , boardSize+  , insertXO+  , inside+  , valid+  , result+  , Win(..)+  , Lose(..)+  , run+  , UserCreds(..)   , StartRequest(..)   , PlayRequest(..)   , GameState(..)
t3-client.cabal view
@@ -1,7 +1,7 @@ name:   t3-client version:-  0.1.0.1+  0.1.0.2 synopsis:   tic-tac-toe Rexports for client description: