4 ms·
It doesn't seem to be outdated. I guess you probably didn't follow correctly the instructions (or maybe they aren't explained well). The extra code given in the
by paradoja 13y ago
It doesn't seem to be outdated. I guess you probably didn't follow correctly the instructions (or maybe they aren't explained well). The extra code given in the second example goes just after the code in the first example, starting with the same indentation. Something like:
main = do
putStr "Hello World! Let's have a picnic! \n"
people_text <- readFile "people.txt"
-- ... the rest
- frou_dh 13y agoYou're right, it was lack of indentation.