Week 11: Monad and Parallel Stream
-
After this unit, students should
- know why we need
flatMapoperation.
- know why we need
-
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.
-
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.