Skip to content

Commit

Permalink
remove extra parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
mstksg committed Dec 4, 2024
1 parent f9a56d7 commit edab4c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/AOC/Common.hs
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ mapToStore :: (Ord k, Num k) => Map k a -> Store k (Maybe a)
mapToStore mp = store (`M.lookup` mp) 0

mapFromStore :: Num k => Set k -> Store k a -> Map k a
mapFromStore ks = experiment (\x -> M.fromSet (+ x) ks)
mapFromStore ks = experiment \x -> M.fromSet (+ x) ks

mapMaybeLines :: (String -> Maybe a) -> String -> [a]
mapMaybeLines f = mapMaybe f . lines
Expand Down

0 comments on commit edab4c4

Please sign in to comment.