Skip to content

Instantly share code, notes, and snippets.

@alexanderGugel
Created February 6, 2020 10:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexanderGugel/8ca16bddb35fba8838e704c86b0405a9 to your computer and use it in GitHub Desktop.
Save alexanderGugel/8ca16bddb35fba8838e704c86b0405a9 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