MicroHs-0.17.4.0 / tests / BindPat.hs
module BindPat(main) wherefoo :: [Int] -> [Int]foo xs = do 1 <- xs pure 2main :: IO ()main = do print $ foo [1,1] print $ foo [2]
module BindPat(main) wherefoo :: [Int] -> [Int]foo xs = do 1 <- xs pure 2main :: IO ()main = do print $ foo [1,1] print $ foo [2]