pred-trie 0.6.0 → 0.6.0.1
raw patch · 2 files changed
+7/−3 lines, 2 filesPVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
API changes (from Hackage documentation)
+ Data.Trie.Pred.Base: instance (Control.DeepSeq.NFData k, Control.DeepSeq.NFData a) => Control.DeepSeq.NFData (Data.Trie.Pred.Base.RootedPredTrie k a)
Files
- pred-trie.cabal +5/−3
- src/Data/Trie/Pred/Base.hs +2/−0
pred-trie.cabal view
@@ -2,13 +2,15 @@ -- -- see: https://github.com/sol/hpack ----- hash: f26559f76aae89fad9fe87fd25894fb71ded746440ac54961b4e1a5837de40ea+-- hash: 03b4ea47e57ecfda68de39c93f569f4b5f8a076b14a22dc5ba822e6d4c71cba9 name: pred-trie-version: 0.6.0+version: 0.6.0.1 synopsis: Predicative tries description: Please see the README on Github at <https://git.localcooking.com/tooling/pred-trie#readme> category: Data+homepage: https://github.com/athanclark/pred-trie#readme+bug-reports: https://github.com/athanclark/pred-trie/issues author: Athan Clark maintainer: athan.clark@localcooking.com copyright: 2018 Athan Clark@@ -22,7 +24,7 @@ source-repository head type: git- location: git://git.localcooking.com/tooling/pred-trie.git+ location: https://github.com/athanclark/pred-trie library exposed-modules:
src/Data/Trie/Pred/Base.hs view
@@ -183,6 +183,8 @@ , rootedSub :: !(PredTrie k a) -- ^ The actual predicative trie } deriving (Show, Functor, Typeable) +instance (NFData k, NFData a) => NFData (RootedPredTrie k a) where+ rnf (RootedPredTrie mx xs) = rnf mx `seq` rnf xs instance ( Hashable k , Eq k