User:Duplode/Awkward squad plan

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Mutable objects[edit]

  • Introduction: suggest typical use cases − low-level interfaces with external libraries, algorithms that demand mutability, huge volumes of data.
  • IORefs: basic example, point out concurrency pitfalls, link to Concurrency.
  • ST: Isolated mutability. A word or two on existentials. A hashtables example. (A link to, or an adaptation of, augustuss' quicksort?)
  • Other references: Haskell Cafe thread on the need for global mutable state.


Effectful streaming[edit]

  • The pitfalls of lazy IO.
  • Probably use Pipes, but also mention Conduit.