Small confusion with monads

Saswat Anand [email protected]
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