Chapter 06: Example Application
The only "new" concept is just theprop
function. fp-ts
does not provide an equivalent function, but a more powerful library called monocle-ts is recommended for this purpose. There is also a library called fp-ts-ramda which offer this function, among others to help bring feature parity to fp-ts
.
I've modified the fp-ts-ramda implementation so it can be used without any additional dependency for the purpose of this book:
Last updated