Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Compile-Time Dependent Types. Parent comment
(Bool->Bool,Uint8+()) is just a verbose way of saying (2^2 * (256+1)), where 1,2, and 256 are types with the appropriate number of elements.
The cases involving infinite types are just a (straightforward?) generalization of that.
0: eg 0=noreturn [1],1=void,2=Bool,256=uint8_t
1: Much like in set theory, zero is the empty set.
There are no comments on this comment yet.
(Bool->Bool,Uint8+()) is just a verbose way of saying (2^2 * (256+1)), where 1,2, and 256 are types with the appropriate number of elements.
The cases involving infinite types are just a (straightforward?) generalization of that.
0: eg 0=noreturn [1],1=void,2=Bool,256=uint8_t
1: Much like in set theory, zero is the empty set.