carray 0.1.6.7 → 0.1.6.8
raw patch · 3 files changed
+9/−29 lines, 3 filesdep ~basedep ~bytestringPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base, bytestring
API changes (from Hackage documentation)
Files
- Makefile +1/−1
- carray.cabal +7/−28
- tests/meteor-contest-c.hs +1/−0
Makefile view
@@ -2,5 +2,5 @@ runhaskell Setup configure --user --enable-tests --enable-benchmarks runhaskell Setup build runhaskell Setup haddock- ./dist/build/test/test+ runhaskell Setup test --show-details=always (cd tests; sh runtests.sh)
carray.cabal view
@@ -1,5 +1,5 @@ name: carray-version: 0.1.6.7+version: 0.1.6.8 synopsis: A C-compatible array library. description: A C-compatible array library.@@ -21,7 +21,7 @@ Makefile source-repository this- tag: 0.1.6.7+ tag: 0.1.6.8 type: darcs location: http://hub.darcs.net/thielema/carray/ @@ -30,36 +30,15 @@ location: http://hub.darcs.net/thielema/carray/ -flag splitBase- description: array was in base < 3- default: True-flag bytestringInBase- description: bytestring was included in base for 2.0 and 2.1- default: False-flag base4- description: syb was split from base >= 4- default: True- library build-depends:+ array >=0.1 && <0.6, ix-shapable >=0.1 && <0.2, binary >=0.5 && <0.9,- QuickCheck >=2.4 && <3-- if flag(bytestringInBase)- build-depends: base >=2.0 && <2.2- else- build-depends: base <2.0 || >=3, bytestring >=0.9 && <0.11-- if flag(splitBase)- build-depends: base >=3, array >=0.1 && <0.6- else- build-depends: base <3-- if flag(base4)- build-depends: base >=4 && <5, syb >=0.1 && <0.8- else- build-depends: base <4+ bytestring >=0.9 && <0.11,+ QuickCheck >=2.4 && <3,+ syb >=0.1 && <0.8,+ base>=4.4 && <5 exposed-modules: Data.Array.CArray
tests/meteor-contest-c.hs view
@@ -34,6 +34,7 @@ cellAt :: Int -> Int -> Int cellAt x y = x + n_col * y +-- swap coordOf :: Int -> (Int, Int) coordOf i = snd &&& fst $ i `quotRem` n_col