Skip to content

Week 11: Monad and Parallel Stream

  • Loggable

    After this unit, students should

    • know why we need flatMap operation.
  • Monad

    After this unit, students should

    • understand what are functors and monads.
    • understand the laws that a functor and monad must obey and be able to verify them.
  • Parallel Streams

    After this unit, students should

    • be aware that a program can be broken into subtasks to run parallelly and/or concurrently.
    • be aware of the issues caused by running subtasks parallelly and concurrently.
    • be aware that there exist tradeoffs in the number of subtasks and the processing overhead.
    • be familiar with how to process a stream parallelly and correctly.