Skip to content

Instantly share code, notes, and snippets.

@alexanderGugel
Created February 6, 2020 10:31
Show Gist options
  • Save alexanderGugel/0093a97ef0b062f325effd7ee06ed3a6 to your computer and use it in GitHub Desktop.
Save alexanderGugel/0093a97ef0b062f325effd7ee06ed3a6 to your computer and use it in GitHub Desktop.
--- a.txt	2020-02-06 10:28:05.000000000 +0000
+++ b.txt	2020-02-06 10:28:22.000000000 +0000
@@ -1,5 +1,5 @@
 module MyModule where
 
 foo :: [Int] -> [Int]
-foo ints = map bar (map baz ints)
+foo ints = map (bar . baz) ints
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment