IO a = IO-Aktion mit Resultattyp a.
IO a
a
import System.Environment ( getArgs ) import Control.Monad ( forM_ ) main :: IO () main = do argv <- getArgs forM_ argv $ \ arg -> do cs <- readFile arg ; putStr cs
ghc --make Cat
./Cat *.tex
forM_