Skip to content

Commit

Permalink
Fixed Map deleteFirstsBy [fbt]
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoerzen committed Sep 14, 2007
1 parent 8bdee87 commit ebf5f10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Data/ListLike/Instances.hs
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,9 @@ instance (Ord key, Eq val) => ListLike (Map.Map key val) (key, val) where
fromList = Map.fromList
nubBy _ = id
--deleteBy
deleteFirstsBy func m1 m2 = Map.fromAscList $
L.deleteFirstsBy func (Map.toAscList m1)
(Map.toAscList m2)
--deleteFirstsBy
--unionBy
--intersectBy
Expand Down

0 comments on commit ebf5f10

Please sign in to comment.