on 0c8d595 help sign in
3 files changed+12−18
since splitsnapshots
unifiedsplit
MemoTrie.cabal+6−5 src/Data/MemoTrie.hs+1−6 stack.yaml+5−7
MemoTrie.cabal+6−5
@@ -1,5 +1,5 @@
11Name: MemoTrie
2−Version: 0.6.10
2+Version: 0.6.8
33Cabal-Version: >= 1.10
44Synopsis: Trie-based memo functions
55Category: Data
@@ -10,11 +10,11 @@ Description:
1010 .
1111 Project wiki page: <http://haskell.org/haskellwiki/MemoTrie>
1212 .
13− &#199; 2008-2019 by Conal Elliott; BSD3 license.
13+ &#169; 2008-2016 by Conal Elliott; BSD3 license.
1414Homepage: https://github.com/conal/MemoTrie
1515Author: Conal Elliott
1616Maintainer: conal@conal.net
17−Copyright: (c) 2008-2019 by Conal Elliott
17+Copyright: (c) 2008-2016 by Conal Elliott
1818License: BSD3
1919License-File: COPYING
2020Stability: experimental
@@ -33,9 +33,9 @@ Library
3333 hs-Source-Dirs: src
3434
3535 if impl(ghc >= 7.10.0)
36− Build-Depends: base >=4.8.0.0 && <5, newtype-generics >= 0.5.3
36+ Build-Depends: base >=4.8.0.0 && <5, newtype-generics >= 0.4
3737 else
38− Build-Depends: base <4.8.0.0, void, newtype-generics >= 0.5.3
38+ Build-Depends: base <4.8.0.0, void, newtype-generics >= 0.4
3939
4040 Exposed-Modules:
4141 Data.MemoTrie
@@ -48,6 +48,7 @@ executable generic
4848 buildable: False
4949 main-is: Generic.hs
5050 ghc-options: -Wall
51+ default-language: Haskell2010
5152 hs-source-dirs: examples
5253 default-language: Haskell2010
5354 build-depends: base, MemoTrie
src/Data/MemoTrie.hs+1−6
@@ -76,7 +76,7 @@ import Data.Monoid
7676import Data.Function (on)
7777import GHC.Generics
7878
79−import Control.Newtype.Generics
79+import Control.Newtype
8080
8181import Data.Void (Void)
8282
@@ -587,12 +587,7 @@ instance HasTrie a => Monad ((:->:) a) where
587587
588588instance (HasTrie a, Monoid b) => Monoid (a :->: b) where
589589 mempty = trie mempty
590−#if !MIN_VERSION_base(4,11,0)
591590 mappend = inTrie2 mappend
592−#else
593−instance (HasTrie a, Semigroup b) => Semigroup (a :->: b) where
594− (<>) = inTrie2 (<>)
595−#endif
596591
597592instance HasTrie a => Functor ((:->:) a) where
598593 fmap f = inTrie (fmap f)
stack.yaml+5−7
@@ -1,7 +1,5 @@
1−# resolver: lts-9.21 # ghc-8.0.2
2−# resolver: lts-11.22 # ghc-8.2.2
3−# resolver: lts-12.14 # ghc-8.4.3
4−# resolver: lts-12.19 # ghc-8.4.4
5−# resolver: lts-13.0 # ghc-8.6.3
6−# resolver: lts-13.13 # ghc-8.6.4
7−resolver: lts-14.6 # ghc-8.6.5
1+flags: {}
2+extra-deps:
3+- MemoTrie-0.6.5
4+- newtype-generics-0.4
5+resolver: nightly-2016-07-18