Skip to content

Instantly share code, notes, and snippets.

@L8D

L8D/cat.hs

Forked from Siim/cat.hs
Last active Aug 29, 2015
Embed
What would you like to do?
import System.Environment (getArgs)
main = do
args <- getArgs
if null args then interact id else mapM ((>>= putStr) . readFile) args
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.