Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bump containers dependency for ghc-7.

  • Loading branch information...
commit a533f78dc5d60abca991691bfa786f74da4fa623 1 parent bf541d2
John Lato authored
Showing with 8 additions and 8 deletions.
  1. +7 −7 ListLike.cabal
  2. +1 −1  src/Data/ListLike/Instances.hs
14 ListLike.cabal
View
@@ -1,11 +1,11 @@
Name: ListLike
-Version: 1.0.2
+Version: 1.1.0
License: LGPL
Maintainer: John Goerzen <jgoerzen@complete.org>
Author: John Goerzen
Copyright: Copyright (c) 2007-2008 John Goerzen
license-file: COPYRIGHT
-extra-source-files: COPYING
+extra-source-files: COPYING, README
Category: Generics
Build-Type: Simple
homepage: http://software.complete.org/listlike
@@ -30,11 +30,11 @@ Exposed-Modules: Data.ListLike,
Data.ListLike.String,
Data.ListLike.Utils
-- Other-Modules: Data.ConfigFile.Lexer
-Build-Depends: base >= 3 && < 5
- ,mtl
- ,containers
- ,bytestring
- ,array
+Build-Depends: base >= 3 && < 5
+ ,mtl >= 1.1.0 && < 1.2
+ ,containers >= 0.3 && < 0.5
+ ,bytestring >= 0.9.1 && < 0.10
+ ,array >= 0.3 && < 0.4
Executable: runtests
Buildable: False
2  src/Data/ListLike/Instances.hs
View
@@ -304,7 +304,7 @@ instance StringLike BSL.ByteString where
-- Map
instance (Ord key) => FoldableLL (Map.Map key val) (key, val) where
- foldr f start m = Map.foldWithKey func start m
+ foldr f start m = Map.foldrWithKey func start m
where func k v accum = f (k, v) accum
foldl f start m = L.foldl f start (Map.toList m)

2 comments on commit a533f78

Herbert Valerio Riedel

Why did you constrain mtl to <1.2? It compiles fine with mtl-2.0 as well (if I loose up the dependancy)...

John Lato
Owner

mtl-2 was released the day after my most recent commit. I'll probably have a chance to raise the mtl upper bound in a few days.

Please sign in to comment.
Something went wrong with that request. Please try again.