Tuesday, 1 October 2013

Not using a variable for

Not using a variable for

This code obviously works import Data.Char main = do content <- readFile
"in.txt" writeFile "out.txt" (map toUpper content) Why this one doesn't?
import Data.Char main = do writeFile …

No comments:

Post a Comment