27.12.2013 Views

Wearing the hair shirt Wearing the hair shirt - Microsoft Research

Wearing the hair shirt Wearing the hair shirt - Microsoft Research

Wearing the hair shirt Wearing the hair shirt - Microsoft Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Monadic I/O<br />

A value of type (IO t) is an “action”<br />

that, when performed, may do<br />

some input/output before<br />

delivering a result of type t.<br />

eg.<br />

getChar :: IO Char<br />

putChar :: Char -> IO ()

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!