summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/ghci.debugger/Test3.hs
blob: 3bb7bd629ba37af3e8dad6ed9497d3ebdecdbf16 (plain)
1
2
3
4
mymap f [] = []
mymap f (x:xs) = f x:mymap f xs

main = mapM_ putStrLn $ mymap ('a':) ["hello","bye"]