aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2024-08-29 23:03:10 +0200
committerTom Smeding <tom@tomsmeding.com>2024-08-29 23:03:20 +0200
commite13b0a681108697f8b67d8c836edd54c042aad55 (patch)
tree83f07ca4e30e278ddc515b0ec867b02da879ee8d /examples
parentb601561e38884d6f729c3a86eb0ec4445aea6155 (diff)
Add a stupid future test caseHEADmaster
Diffstat (limited to 'examples')
-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]