Master the dual arts of functional programming and advanced math with this illuminating intro to mathematical functions--complete with 500 bite-size coding exercises!
Functional programming is a computer paradigm that emphasizes functions, which are repeatable computations that take input data and produce corresponding output data. Functions are also important concepts in math, and a lot of deep mathematical insights shed light on functional computer programming. In this book, the author uses functional programming to introduce mathematical ideas from set theory, abstract algebra, and category theory, and in turn uses math to describe functional programming design patterns. More than 500 short programming exercises included in the book will help you master functional programming and math skills alike, with code examples presented in the F# language.