Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I use fp.ts quite a lot! I think it's _extremely unfortunate_ that the API docs don't include top-level examples for basically anything, though. So when people hit a problem that fp-ts or io-ts can solve, I have to basically write a disclaimer about the slight impenetrability before suggesting it.

I really think that TS itself should offer syntax more or less matching what that lib does at the type level, but this is a bit of a maximalist request.



effect-ts is nowadays the de facto successor of fp-ts and has better docs.

As for fp-ts all APIs have examples/tests that show their usage.


Thanks for the effect-ts suggestion! Looks pretty compelling...




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: