Skip to content

Commit

Permalink
Add missing files.
Browse files Browse the repository at this point in the history
  • Loading branch information
lennart-augustsson-epicgames committed Feb 4, 2024
1 parent c9fd045 commit 12c2177
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/BindPat.hs
Original file line number Diff line number Diff line change
@@ -0,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]
2 changes: 2 additions & 0 deletions tests/BindPat.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[2,2]
[]

0 comments on commit 12c2177

Please sign in to comment.