Thank you for purchasing Functional Programming in C#. Please post any errors, other than those listed below, in the book's
Author Online Forum. We'll compile a comprehensive list and publish it here for everyone's convenience. Thank you!
Delete the sentence following footnote 7; the footnote text is duplicated in the paragraph.
This is perhaps the most common pattern for HOFs, and it's sometimes
referred to as inversion of control: the caller of the
HOF
decides what to do by supplying a function, and the callee decides when to
do it by invoking the given function.
public static Option.Some Some(T value) => new Option.Some(value);
should be:
public static Option Some(T value) => new Option.Some(value);
The second static function in section 7.1.2 should be:
public static Func Apply
(this Func f, T1 t1)
=> (t2, t3) => f(t1, t2, t3);