data-sword 0.2 → 0.2.0.1
raw patch · 5 files changed
+7/−6 lines, 5 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- README.md +1/−1
- data-sword.cabal +3/−1
- src/Data/ShortWord.hs +1/−0
- src/Data/ShortWord/TH.hs +1/−4
- tests/Types.hs +1/−0
README.md view
@@ -1,7 +1,7 @@ Data-SWord ========== -[](http://hackage.haskell.org/package/data-sword)+[](https://travis-ci.org/mvv/data-sword) [](http://hackage.haskell.org/package/data-sword) This package provides Template Haskell utilities for declaring short binary word data types built on top of longer binary word data types. Signed and unsigned
data-sword.cabal view
@@ -1,5 +1,5 @@ Name: data-sword-Version: 0.2+Version: 0.2.0.1 Category: Data Stability: experimental Synopsis: Shorter binary words@@ -19,6 +19,8 @@ Extra-Source-Files: README.md++Tested-With: GHC==7.8.4, GHC==7.10.3, GHC==8.0.1 Cabal-Version: >= 1.10.0 Build-Type: Simple
src/Data/ShortWord.hs view
@@ -1,5 +1,6 @@ {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE UnicodeSyntax #-}+{-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE TypeFamilies #-} -- | This module provides signed and unsigned binary word data types of sizes
src/Data/ShortWord/TH.hs view
@@ -66,12 +66,9 @@ (NormalC cn [(Bang NoSourceUnpackedness NoSourceStrictness, uT)])-#else- (NormalC cn [(NotStrict, uT)])-#endif-#if MIN_VERSION_template_haskell(2,10,0) (ConT <$> union [''Typeable] ad) #else+ (NormalC cn [(NotStrict, uT)]) (union [''Typeable] ad) #endif , SigD pn (AppT (ConT ''Proxy) tpT)
tests/Types.hs view
@@ -1,4 +1,5 @@ {-# LANGUAGE TemplateHaskell #-}+{-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE TypeFamilies #-} module Types where