2 ms·
If you're looking for a guide to using Haskell in the real world, you should check out "Real World Haskell", by O'Sullivan et al, freely available online at [1]
by ajtulloch 13y ago
If you're looking for a guide to using Haskell in the real world, you should check out "Real World Haskell", by O'Sullivan et al, freely available online at [1]. It's an excellent book, in my opinion one of the best programming books available on any language.
In particular, for interacting with MySQL, check out the chapter on that in RWH [2], and for reading lines and operating on them, see [3].
However, you should start from the beginning, as those kind of operations (for better or worse), require a firm grounding in Haskell concepts like types, monads, etc.
[1]: http://book.realworldhaskell.org/read/ http://book.realworldhaskell.org/read/
[2]: http://book.realworldhaskell.org/read/using-databases.html http://book.realworldhaskell.org/read/using-databases.html
[3]: http://book.realworldhaskell.org/read/io.html http://book.realworldhaskell.org/read/io.html