Hacker GitHub

← All repos

gcanti/fp-ts

View on GitHub ↗ ★ 11,548 TypeScript

Functional programming in TypeScript

21 mentions on Hacker News by 17 people: 2 stories, 19 comments · first 2017-07-31 · latest 2026-10-02

Mentions per year 21 mentions · busiest year 2020 (6)
20082026
  1. …support removes a lot of the friction that used to come with completions and diagnostics. [1] https://github.com/gcanti/fp-ts [2] https://effect.website/blog/ts-plus-postmortem
    comment by artisin · 2026-10-02 · in Effect 4.0
  2. …at fp-ts and it’s version of pipe and flow. Also comes with various monads to play around with! [1] https://github.com/gcanti/fp-ts
  3. …where you can see the comparison in PureScript is a one-liner (both data and polymorphic data): https://github.com/gcanti/fp-ts/blob/master/docs/guides/pure...
  4. …because of the light way library approach, which you seem to share. I also try fp-ts https://github.com/gcanti/fp-ts but is a bit an academic style, so difficult to introduce in everyday work. Implementation of pipe:…
  5. …=> C): C function pipe<A, B, C, D>(a: A, ab: (a: A) => B, bc: (b: B) => C, cd: (c: C) => D): D ... https://github.com/gcanti/fp-ts/blob/master/src/function.ts#...
  6. ▲ 4
    Typed Functional Programming in TypeScript
    story by pretext · 2022-01-17 · 0 comments
  7. ▲ 10
    Ask HN: Hey Functional Programmers, how did you learn functional programming
    story by dprophecyguy · 2021-10-28 · 5 comments
  8. …[1]! It's mentioned at the end of the article, but I want to emphasize just how cool it is. [1] https://github.com/gcanti/fp-ts
  9. See https://github.com/gcanti/fp-ts . Heavily haskell-inspired and includes a TS implementation of higher-kinded types.
  10. https://github.com/gcanti/fp-ts https://github.com/gcanti/io-ts If you're using TS these are pretty much footgun eliminator.
    comment by valand · 2021-04-20 · in What's in the Box?
  11. …{ data: unknown }`, and discriminated union to indicate success/failure on return. fp-ts ( https://github.com/gcanti/fp-ts ) is my go-to library for this
    comment by valand · 2021-02-03 · in Bad TypeScript Habits
  12. …and A its type parameter. [1]: https://www.cl.cam.ac.uk/~jdy22/papers/lightweight-higher-ki... [2]: https://github.com/gcanti/fp-ts [3]: https://gist.github.com/gcanti/2b455c5008c2e1674ab3e8d5790cd...
  13. …familiar with functional programming it's going to be hard as the documentation is rather lacking. https://github.com/gcanti/fp-ts/blob/master/src/Option.ts
  14. …will further fragment the community. And TypeScript has some pretty attractive functional projects: https://github.com/gcanti/fp-ts https://github.com/Matechs-Garage/matechs-effect [1]: https://reasonml.org/blog/bucklescript-8-1-new-syntax
  15. https://github.com/gcanti/fp-ts
    comment by orange8 · 2020-04-10 · in The Svelte Compiler Handbook
  16. …idea that will lead to a backlash, just like the backlashes against XHTML and Java applets. [0] https://github.com/gcanti/fp-ts
  17. …it even more enjoyable. [0] https://github.com/Microsoft/TypeScript/wiki/TypeScript-Desi... [1] https://github.com/gcanti/fp-ts
  18. …higher kinded types in TypeScript is based on "Lightweight higher-kinded polymorphism" [2]) [1] https://github.com/gcanti/fp-ts [2] https://www.cl.cam.ac.uk/~jdy22/papers/lightweight-higher-ki...
  19. for a functional library that plays nicely with TS check this out: https://github.com/gcanti/fp-ts
    comment by gcanti · 2018-07-30 · in Announcing TypeScript 3.0
  20. …and ReasonML is quite early stage (a few weeks each) and so would welcome any corrections. --- [1] https://github.com/gcanti/fp-ts [2] https://lorefnon.tech/2018/05/13/reasonml-vs-typescript-firs... [3]…
    comment by lf-non · 2018-05-24 · in ReasonML – React as first intended
  21. working on a fp library for TypeScript if you want to take a look https://github.com/gcanti/fp-ts
    comment by gcanti · 2017-07-31 · in Elm in Production: 25K Lines Later