Skip to content

Latest commit

 

History

History

Chapter4. IO in Haskell

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Chapter4. I/O in Haskell

Goals

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

Curricula

Alternative Curricula

A more thorough Curricula

  • [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]

Exercises