Viewing profile — gcanti
gcanti
HN member- Joined
- Mon, Aug 04, 2014, 5:11 PM UTC
- HN karma
- 111
- Public activity
- 72 items
- HN profile
- View on Hacker News ↗
About gcanti
Recent public activity
-
comment
Comment #21442892
fp-ts [1] contains an implementation of Higher Kinded Types, which TypeScript doesn’t support natively (the idea for emulating higher kinded types in TypeScript is based on "Lightw…
-
comment
Comment #17646574
for a functional library that plays nicely with TS check this out: https://github.com/gcanti/fp-ts
-
comment
Comment #17073250
For my fellow italians, I wrote a free "Introduction to functional programming" PDF, check out https://github.com/gcanti/functional-programming
-
comment
Comment #16594675
Here's a (partial) porting to TypeScript https://github.com/gcanti/money-ts
-
comment
Comment #14893148
working on a fp library for TypeScript if you want to take a look https://github.com/gcanti/fp-ts
- story
-
comment
Comment #14094457
You could write the runtime definition and extract the static types from that https://github.com/gcanti/io-ts
-
comment
Comment #14094318
This is a TypeScript compatible runtime type system for IO validation https://github.com/gcanti/io-ts
-
comment
Comment #13072754
what's the state of the JavaScript backend? I do frontend and I'd really love to write some code in idris
- story
-
comment
Comment #12339040
Not sure about TypeScript but with Flow you can get HKT through some contortions https://github.com/gcanti/flow-static-land (in Elm too)
- story
- story
-
comment
Comment #12106075
I wrote a library [1] and a babel plugin [2] (bonus point: is Flow compatible) in order to deal with those cumbersome runtime type checks. [1] https://github.com/gcanti/tcomb [2] h…
- story
- story
-
comment
Comment #11921366
I'm working on a babel plugin [1] that should make the migration even more gradual. At the end of the process you get both static and runtime type safety. [1] https://github.com/gc…
-
comment
Comment #11234308
Yep. However static and runtime type checking are not mutually exclusive. Actually there's a TypeScript definition file included in the repo. Moreover such a runtime type checking …
-
comment
Comment #11234201
> I was hooked on the idea of having a type safe data record that was also immutable Me too, thus I wrote https://github.com/gcanti/tcomb
- story
- story
-
comment
Comment #10644501
Shameless plug: https://github.com/gcanti/tcomb . Used in development/production in several places, included the new MapBox Studio
-
comment
Comment #10332642
Hi, shameless plug: another ( typed ) immutable data structure library, https://github.com/gcanti/tcomb . Main features: - works with regular objects and arrays - runtime type chec…
- story
-
comment
Comment #10101982
Hi, author here. Thanks for your kind words :)