Skip to content

Commit 7fa83b0

Browse files
committed
No fmap flip gymnastics.
1 parent e4b1c00 commit 7fa83b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Hyperion/Report.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jsonFlat
5050
-> HashMap BenchmarkId Report
5151
-- ^ Report to encode
5252
-> JSON.Value
53-
jsonFlat md report = jsonList $ flip fmap (HashMap.elems report) $ \b ->
53+
jsonFlat md report = jsonList $ (`map` HashMap.elems report) $ \b ->
5454
JSON.object $
5555
HashMap.toList md <> (flatten $ JSON.toJSON b)
5656
where

0 commit comments

Comments
 (0)