word 0.1.0.0 → 0.1.0.1
raw patch · 3 files changed
+40/−3 lines, 3 filesdep +smallcheckdep +tastydep +tasty-smallcheckdep ~basePVP ok
version bump matches the API change (PVP)
Dependencies added: smallcheck, tasty, tasty-smallcheck, word
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- Data/Word/General.hs +1/−1
- test/Main.hs +8/−0
- word.cabal +31/−2
Data/Word/General.hs view
@@ -48,7 +48,7 @@ instance Natural n => Bits (Word n) where Word as .&. Word bs = Word (liftA2 (&&) as bs)- Word as .|. Word bs = Word (liftA2 (&&) as bs)+ Word as .|. Word bs = Word (liftA2 (||) as bs) Word as `xor` Word bs = Word (liftA2 (/=) as bs) complement (Word as) = Word (not <$> as) shiftL (Word as) k = Word $ stimes k (Endo go) `appEndo` as
+ test/Main.hs view
@@ -0,0 +1,8 @@+module Main where++import Test.SmallCheck+import Test.Tasty+import Test.Tasty.SmallCheck++main :: IO ()+main = pure ()
word.cabal view
@@ -1,5 +1,5 @@ name: word-version: 0.1.0.0+version: 0.1.0.1 synopsis: Words of arbitrary size -- description: license: BSD3@@ -7,7 +7,7 @@ author: M Farkas-Dyck maintainer: strake888@gmail.com copyright: 2018 M Farkas-Dyck--- category: +category: Data, Math, Numeric build-type: Simple extra-source-files: README.md cabal-version: >=1.10@@ -32,6 +32,35 @@ , FlexibleContexts , FlexibleInstances , GADTs+ , StandaloneDeriving+ , DeriveFunctor, DeriveFoldable, DeriveTraversable+ ghc-options: -Wall -Wcompat -Wredundant-constraints -Wno-name-shadowing+ -Wincomplete-record-updates -Wincomplete-uni-patterns+ -Werror=incomplete-patterns+ -Werror=incomplete-uni-patterns+ -Werror=incomplete-record-updates+ -Werror=missing-fields+ -Werror=missing-methods++test-suite test+ type: exitcode-stdio-1.0+ hs-source-dirs: test+ main-is: Main.hs+ build-depends: base >=4.11 && <5+ , smallcheck >=1.1.4+ , tasty >=1.0+ , tasty-smallcheck >=0.8+ , word+ default-language: Haskell2010+ default-extensions: UnicodeSyntax+ , LambdaCase+ , EmptyCase+ , InstanceSigs+ , PartialTypeSignatures+ , PolyKinds+ , ConstraintKinds+ , FlexibleContexts+ , FlexibleInstances , StandaloneDeriving , DeriveFunctor, DeriveFoldable, DeriveTraversable ghc-options: -Wall -Wcompat -Wredundant-constraints -Wno-name-shadowing