ref: da72cf93b9b1baf72bf4a0c227473b5891645b3a 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]