Skip to content

Commit

Permalink
set version of mono-traversable
Browse files Browse the repository at this point in the history
  • Loading branch information
L0neGamer authored and BebeSparkelSparkel committed Jul 13, 2024
1 parent b203a1c commit 6086c62
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mono-traversable/mono-traversable.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cabal-version: 1.12
-- see: https://github.com/sol/hpack

name: mono-traversable
version: 1.0.18.0
version: 1.0.19.0
synopsis: Type classes for mapping, folding, and traversing monomorphic containers
description: Please see the README at <https://www.stackage.org/package/mono-traversable>
category: Data
Expand Down
2 changes: 1 addition & 1 deletion mono-traversable/package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: mono-traversable
version: 1.0.18.0
version: 1.0.19.0
synopsis: Type classes for mapping, folding, and traversing monomorphic containers
description: Please see the README at <https://www.stackage.org/package/mono-traversable>
category: Data
Expand Down
2 changes: 1 addition & 1 deletion mono-traversable/src/Data/Containers.hs
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ class (MonoTraversable map, SetContainer map) => IsMap map where
-- | Equivalent to 'filterMap', but the function accepts the key,
-- as well as the value.
--
-- @since 1.0.??
-- @since 1.0.19.0
filterWithKey :: (ContainerKey map -> MapValue map -> Bool) -> map -> map
filterWithKey p = mapFromList . filter (uncurry p) . mapToList

Expand Down

0 comments on commit 6086c62

Please sign in to comment.