Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on TypeScript 3.5. Parent comment
Hmm .. as far as I'm aware, they haven't added this yet: https://github.com/microsoft/TypeScript/issues/1213
Note that higher-kinded types (though I'd rather call it "higher-kinded polymorphism" or something—type-level functions are not really types) would allow code similar to this:
function foo<F, A>(f: (v: A) => F<A>, v: A): F<A> { return f(v); }
There are no comments on this comment yet.
Hmm .. as far as I'm aware, they haven't added this yet: https://github.com/microsoft/TypeScript/issues/1213
Note that higher-kinded types (though I'd rather call it "higher-kinded polymorphism" or something—type-level functions are not really types) would allow code similar to this: