DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Putlines In Haskell
This is an illustrative example of
a) Point free style
b) How Haskell IO works.
If you don't understand Haskell IO, it might be helpful to try and unpick the definition here to see how it works. :-)
import System main :: IO () main = getArgs >>= sequence_ . (map putStrLn)





