ref: 3f7af2a4f9c9f042294c6e61117cc8fa3b87460a 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]