After completing this chapter four, you'll be able to:
- Understand how Haskell handles I/O by using IO types
- Use do-notation to perform I/O(Understanding of the underlying monad theory is not necessary to program using the I/O system)
- Write pure programs that interact with the real world
- Access command-line arguments
- Use the traditional approach to interacting through I/O
- Write I/O code using lazy evaluation to make I/O easier
- Work with file handles in Haskell
- Read from and write to files
- http://learnyouahaskell.com/input-and-output
- https://en.wikibooks.org/wiki/Haskell/Understanding_monads/IO
- [Learn you a Haskell from great good! - Chapter 8. Input and Output]
- [Practical Haskell - Part III. Dealing with Files: IO and Conduit]
- [Get programming with Haskell - Chapter 4. IO in Haskell]
- [Real World Haskell - Chapter 7. Input and Output]
- See folder
Exercises