packages feed

haskellscrabble 2.2.1 → 2.2.2

raw patch · 2 files changed

+3/−4 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

haskellscrabble.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                haskellscrabble-version:             2.2.1+version:             2.2.2 synopsis:            A scrabble library capturing the core game logic of scrabble. description:         A scrabble library which enforces legal transitions between moves. Intended to facilitate the development of a playable game. homepage:            http://www.github.com/happy0/haskellscrabble
src/Wordify/Rules/Pos.hs view
@@ -51,8 +51,8 @@    direction :: Pos -> Pos -> Maybe Direction   direction startPos endPos-    | xPos startPos == xPos endPos = Just Horizontal-    | yPos startPos == yPos endPos = Just Vertical+    | xPos startPos == xPos endPos = Just Vertical+    | yPos startPos == yPos endPos = Just Horizontal     | otherwise = Nothing    {- A map keyed by tuples representing (x,y) co-ordinates, and valued by their@@ -72,4 +72,3 @@    gridValue :: Pos -> String   gridValue (Pos _ _ grid) = grid-