Closed fkerekiglobant closed 2 years ago
In the text, the example
const myNextAge = chain( myAge, v => Identity(v + 1) ); // { val: 42 }
doesn't really produce an object with a val attribute; it just returns 42.
val
In the text, the example
const myNextAge = chain( myAge, v => Identity(v + 1) ); // { val: 42 }
doesn't really produce an object with a
val
attribute; it just returns 42.