4 ms·
Lack of documentation frustrated me too. I dont come from a pure FP or Haskell background, so all the type signatures and FP terms don't help at all. I only use
by frfl 3y ago
Lack of documentation frustrated me too. I dont come from a pure FP or Haskell background, so all the type signatures and FP terms don't help at all.
I only used like 2 or 3 categories of things from it since those were thing that i could actually understand. "Either" was the one I used the most
I wish the docs had more examples or explanations
- bPspGiJT8Y 3y agoFrom their page: > Disclaimer. Teaching functional programming is out of scope of this project, so the documentation assumes you already know what FP is. Personally, and some might disagree here, but I think you simply shouldn't use fp-ts before you have a solid experience with "real" FP languages, because any usage of this library is quite messy on its own (after all, JS simply wasn't created for this) and it's easy to create even more mess and get frustrated about it later on. It's also IMO a bit useless to try and teach it because in order to get a good grasp of the abstractions you'd have to practice them yourself and see how they help your real code, and it's something that's much harder to do in JS than in a language which has you covered. You'd rather start with Haskell or PureScript if you wish to learn more.
- crooked-v 3y agoThere's a huge difference between "knowing what functional programming is" and "knowing what the specific functions in this utility project are supposed to do".