April 2019
Intermediate to advanced
480 pages
13h 22m
English
In this chapter
IO type and imperative-like control structuresIO operationsSo far you’ve learned how to write safe programs that haven’t produced any usable results. You’ve learned how to compose true functions to build more powerful functions. More interestingly, you’ve learned how to use nonfunctional operations in a safe, functional way. Nonfunctional operations are operations producing side effects such as throwing exceptions, changing the outside world, or depending on the outside world to produce a result. For example, you learned how to take an integer division, which is a potentially ...
Read now
Unlock full access