aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/letty.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/letty.hs b/examples/letty.hs
new file mode 100644
index 0000000..6b6e0a3
--- /dev/null
+++ b/examples/letty.hs
@@ -0,0 +1,6 @@
+-- This is glguy's fault.
+
+foo =
+ let f x | even x = 1
+ | let = 0
+ in f <$> [1..5]