packages feed

chessIO 0.9.3.1 → 0.9.4.0

raw patch · 5 files changed

+8/−8 lines, 5 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Game.Chess.PGN: annPly :: forall a_a1a0V a_a1abF. Lens (Annotated a_a1a0V) (Annotated a_a1abF) a_a1a0V a_a1abF
+ Game.Chess.PGN: annPly :: forall a_a17WQ a_a188c. Lens (Annotated a_a17WQ) (Annotated a_a188c) a_a17WQ a_a188c
- Game.Chess.PGN: annPrefixNAG :: forall a_a1a0V. Lens' (Annotated a_a1a0V) [Int]
+ Game.Chess.PGN: annPrefixNAG :: forall a_a17WQ. Lens' (Annotated a_a17WQ) [Int]
- Game.Chess.PGN: annSuffixNAG :: forall a_a1a0V. Lens' (Annotated a_a1a0V) [Int]
+ Game.Chess.PGN: annSuffixNAG :: forall a_a17WQ. Lens' (Annotated a_a17WQ) [Int]
- Game.Chess.Polyglot: beKey :: forall a_a1iLE. Lens' (BookEntry a_a1iLE) Word64
+ Game.Chess.Polyglot: beKey :: forall a_a1gzn. Lens' (BookEntry a_a1gzn) Word64
- Game.Chess.Polyglot: beLearn :: forall a_a1iLE. Lens' (BookEntry a_a1iLE) Word32
+ Game.Chess.Polyglot: beLearn :: forall a_a1gzn. Lens' (BookEntry a_a1gzn) Word32
- Game.Chess.Polyglot: bePly :: forall a_a1iLE a_a1ja0. Lens (BookEntry a_a1iLE) (BookEntry a_a1ja0) a_a1iLE a_a1ja0
+ Game.Chess.Polyglot: bePly :: forall a_a1gzn a_a1gIM. Lens (BookEntry a_a1gzn) (BookEntry a_a1gIM) a_a1gzn a_a1gIM
- Game.Chess.Polyglot: beWeight :: forall a_a1iLE. Lens' (BookEntry a_a1iLE) Word16
+ Game.Chess.Polyglot: beWeight :: forall a_a1gzn. Lens' (BookEntry a_a1gzn) Word16

Files

book/twic-9g.bin view

file too large to diff

chessIO.cabal view
@@ -1,11 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.1.+-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack  name:           chessIO-version:        0.9.3.1+version:        0.9.4.0 synopsis:       Basic chess library description:    A simple and fast library for generating legal chess moves. Also includes a module for communication with external processes that speak the UCI (Universal Chess Interface) protocol, a PGN parser/pretty printer, and Polyglot opening book support. On top of that, provides a console frontend program (cboard) that can be used to interactively play against UCI engines. category:       Game
src/Game/Chess/Internal/QuadBitboard.hs view
@@ -72,14 +72,13 @@  instance NFData QuadBitboard -occupied, pnr, white, pawns, knights, bishops, rooks, queens, kings :: QuadBitboard -> Word64+occupied, white, pawns, knights, bishops, rooks, queens, kings :: QuadBitboard -> Word64 occupied = liftA2 (.|.) pbq $ liftA2 (.|.) nbk rqk-pnr      = liftA2  xor  pbq $ liftA2  xor  nbk rqk white    = liftA2  xor  occupied black-pawns    = liftA2 (.&.) pnr pbq-knights  = liftA2 (.&.) pnr nbk+pawns    = liftA2 (.&.) pbq $ liftA2 (.&.) (complement . nbk) (complement . rqk)+knights  = liftA2 (.&.) (complement . pbq) $ liftA2 (.&.) nbk (complement . rqk) bishops  = liftA2 (.&.) pbq nbk-rooks    = liftA2 (.&.) pnr rqk+rooks    = liftA2 (.&.) (complement . pbq) $ liftA2 (.&.) (complement . nbk) rqk queens   = liftA2 (.&.) pbq rqk kings    = liftA2 (.&.) nbk rqk @@ -99,7 +98,6 @@ bQueens  = liftA2 (.&.) queens black bKings   = liftA2 (.&.) kings black -{-# INLINE pnr #-} {-# INLINE occupied #-} {-# INLINE white #-} {-# INLINE pawns #-}
src/Game/Chess/PGN.hs view
@@ -11,6 +11,7 @@ {-# LANGUAGE TemplateHaskell            #-} {-# LANGUAGE TupleSections              #-} {-# LANGUAGE TypeFamilies               #-}+{-# LANGUAGE TypeOperators              #-} {-# LANGUAGE ViewPatterns               #-} {-| Module      : Game.Chess.PGN
src/Game/Chess/SAN.hs view
@@ -7,6 +7,7 @@ {-# LANGUAGE PolyKinds           #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TupleSections       #-}+{-# LANGUAGE TypeOperators       #-} {-# LANGUAGE ViewPatterns        #-} {-| Module      : Game.Chess.SAN