ref: 5b60ee45befe166285c4d1237d677ae96640edfb dir: /tests/BindPat.hs/
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]