Jump to content

User:Duplode/Awkward squad plan

From Wikibooks, open books for an open world

Mutable objects

[edit | edit source]
  • 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.

Concurrency

[edit | edit source]

Effectful streaming

[edit | edit source]
  • The pitfalls of lazy IO.
  • Probably use Pipes, but also mention Conduit.

Exceptions

[edit | edit source]