reset password
Author Message
epascua
Posts: 47
Posted 00:44 Apr 24, 2018 |

Soo, I was working on the homework. 

Getting pretty confused/stuck with the fact that when you read the file and put it into a list, it returns I/O [String] instead of [String].

How do we deal with this? Is it possible for it to just return a [String], and if so any tips on doing that?

 

TonyOs1
Posts: 13
Posted 01:11 Apr 24, 2018 |

If I'm correct, this has to do with the whole "Get the good out of the bad boy" lol
Regarding this issue, there is something on one of the lectures (#10 to be exact), that has says "To get something out of an IO action..."
Hope this helps.