Skip to content

Commit

Permalink
Merge pull request #3078 from Heather/redundant_map
Browse files Browse the repository at this point in the history
redundant map after fold
  • Loading branch information
23Skidoo committed Jan 26, 2016
2 parents 4aaa174 + 9a08677 commit d775df9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -370,4 +370,4 @@ type VROrigin qpn = (VR, Goal qpn)
-- | Helper function to collapse a list of version ranges with origins into
-- a single, simplified, version range.
collapse :: [VROrigin qpn] -> VR
collapse = simplifyVR . L.foldr (.&&.) anyVR . L.map fst
collapse = simplifyVR . L.foldr ((.&&.) . fst) anyVR

0 comments on commit d775df9

Please sign in to comment.