Hacker News new | ask | show | jobs
by tycho01 3275 days ago
I tried typing functional programming library Ramda using TS, and got frustrated it still had some limitations (e.g. needing overload codegen in lieu of variadic support).

I tried finding what TS can do now, and figured out type-level tuple iteration, among a few others. The current roadblock seems to be getting function return types. Progress, for anyone interested: https://github.com/Microsoft/TypeScript/issues/16392

At this point I'm amazed how close we are to typing anything, despite having only 5 (!) type-level operators, with their respective warts.