Small confusion with monads

Saswat Anand saswatan@comp.nus.edu.sg
Thu, 4 Oct 2001 17:13:46 +0800 (GMT-8)


Unsafely you can write:

import IOExts 

> contents :: [String] -> [String]

content = unsafePerformIO . sequence . (map readFile)


Saswat