packages feed

identicon-style-squares 0.1.0.0 → 0.1.0.1

raw patch · 2 files changed

+5/−5 lines, 2 filesdep ~JuicyPixelsdep ~basePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: JuicyPixels, base

API changes (from Hackage documentation)

- Graphics.Identicon.Styles.Squares: type Squares n = (Identicon (3 + NecessaryBytes n) :+ Consumer (NecessaryBytes n)) :+ Consumer 3
+ Graphics.Identicon.Styles.Squares: type Squares n = Identicon (3 + NecessaryBytes n) :+ Consumer (NecessaryBytes n) :+ Consumer 3

Files

Graphics/Identicon/Styles/Squares.hs view
@@ -27,7 +27,7 @@ import Codec.Picture (PixelRGB8 (PixelRGB8)) import Data.Proxy (Proxy) import Data.Bits (Bits, FiniteBits, testBit, finiteBitSize)-import GHC.TypeLits+import GHC.TypeLits as T import Data.Word (Word8)  import Data.Function.Polyvariadic@@ -48,7 +48,7 @@  -- | Calculate the total number of cells in the grid from the number --   of columns on one side-type Cells sideColumns = (sideColumns+sideColumns+1)*(sideColumns+1)+type Cells sideColumns = ((sideColumns T.* 2) + 1) T.* (sideColumns + 1)  -- | Raise the number of bits to the nearest byte type NearestByte n = NearestByte' (CmpNat 8 n) n
identicon-style-squares.cabal view
@@ -1,5 +1,5 @@ name:                identicon-style-squares-version:             0.1.0.0+version:             0.1.0.1 synopsis:            Squares style for the identicon package description:         An identicon style with colored squares, similar to the                      github default avatars. The number of square in a single@@ -23,9 +23,9 @@   exposed-modules:     Graphics.Identicon.Styles.Squares   -- other-modules:          other-extensions:    DataKinds, TypeOperators, TypeFamilies, UndecidableInstances, FlexibleContexts-  build-depends:       base >=4.7 && <4.11+  build-depends:       base >=4.7 && <4.13                      , identicon >=0.2 && <0.3-                     , JuicyPixels >=3.2 && <3.3+                     , JuicyPixels >=3.2 && <3.4                      , polyvariadic >=0.2 && <0.4   -- hs-source-dirs:         default-language:    Haskell2010