chesshs 0.1 → 0.1.1
raw patch · 1 files changed
+2/−10 lines, 1 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Chess.FEN: defaultBoard :: Board
+ Chess.FEN: defaultFEN :: String
+ Chess.FEN: fromFEN :: String -> Maybe Board
+ Chess.FEN: toFEN :: Board -> String
+ Chess.PGN: BlackWon :: GameResult
+ Chess.PGN: Draw :: GameResult
+ Chess.PGN: PGN :: String -> String -> String -> String -> String -> String -> Maybe GameResult -> Maybe Board -> [Move] -> PGN
+ Chess.PGN: WhiteWon :: GameResult
+ Chess.PGN: blackPlayer :: PGN -> String
+ Chess.PGN: data GameResult
+ Chess.PGN: data PGN
+ Chess.PGN: date :: PGN -> String
+ Chess.PGN: event :: PGN -> String
+ Chess.PGN: initialPosition :: PGN -> Maybe Board
+ Chess.PGN: instance Eq GameResult
+ Chess.PGN: instance Show GameResult
+ Chess.PGN: instance Show PGN
+ Chess.PGN: moves :: PGN -> [Move]
+ Chess.PGN: pgnParser :: Parser ByteString [PGN]
+ Chess.PGN: result :: PGN -> Maybe GameResult
+ Chess.PGN: round :: PGN -> String
+ Chess.PGN: site :: PGN -> String
+ Chess.PGN: whitePlayer :: PGN -> String
Files
- chesshs.cabal +2/−10
chesshs.cabal view
@@ -1,5 +1,5 @@ Name: chesshs-Version: 0.1+Version: 0.1.1 Synopsis: Simple library for validating chess moves and parsing PGN files Description: With this library you can load chess boards from FEN and PGN notation and apply moves to the boards. Moves will only be allowed if they are valid under the normal chess rules. License: BSD3@@ -16,15 +16,7 @@ Default: False Library- Exposed-modules: Chess-- if flag(no-pgn)- other-modules:- Chess.FEN- else- other-modules:- Chess.FEN- Chess.PGN+ exposed-modules: Chess, Chess.FEN, Chess.PGN Build-depends: bytestring >= 0.9.0.0,