edges 0.9.0.2 → 0.9.1
raw patch · 3 files changed
+12/−1 lines, 3 filesdep +deepseqPVP ok
version bump matches the API change (PVP)
Dependencies added: deepseq
API changes (from Hackage documentation)
Files
- edges.cabal +2/−1
- library/Edges/Instances.hs +6/−0
- library/Edges/Prelude.hs +4/−0
edges.cabal view
@@ -1,5 +1,5 @@ name: edges-version: 0.9.0.2+version: 0.9.1 category: Graphs synopsis: Tools for efficient immutable graphs description: A set of tools for constructing immutable graphs which are both memory and performance-efficient.@@ -38,6 +38,7 @@ base >=4.7 && <5, cereal >=0.5.5 && <0.6, contravariant >=1.4 && <2,+ deepseq >=1.4 && <2, deferred-folds >=0.6 && <0.7, foldl >=1.4.2 && <2, hashable >=1.2 && <2,
library/Edges/Instances.hs view
@@ -16,3 +16,9 @@ instance Show (NodeCounts a) where show = show . nodeCountsList deriving instance Show (Edges a b) deriving instance Show (Amount a)++instance NFData (Edges a b) where rnf a = seq a ()+deriving instance NFData (Node a)+instance NFData (NodeCounts a) where rnf a = seq a ()+instance NFData (EdgeCounts a b) where rnf a = seq a ()+deriving instance NFData (Amount a)
library/Edges/Prelude.hs view
@@ -144,6 +144,10 @@ ------------------------- import Data.Text as Exports (Text) +-- deepseq+-------------------------+import Control.DeepSeq as Exports+ import qualified Data.Vector.Unboxed as UnboxedVector type UnboxedVector = UnboxedVector.Vector