ref: 12c2177c5b9e2828626870d2fddde52406b636b3
parent: c9fd045412e8361977ed3dd53cb7aa627242a00c
author: Lennart Augustsson <lennart.augustsson@epicgames.com>
date: Sun Feb 4 08:12:37 EST 2024
Add missing files.
--- /dev/null
+++ b/tests/BindPat.hs
@@ -1,0 +1,12 @@
+module BindPat(main) where
+import Prelude
+
+foo :: [Int] -> [Int]
+foo xs = do
+ 1 <- xs
+ pure 2
+
+main :: IO ()
+main = do
+ print $ foo [1,1]
+ print $ foo [2]
--- /dev/null
+++ b/tests/BindPat.ref
@@ -1,0 +1,2 @@
+[2,2]
+[]
--
⑨