logoalt Hacker News

solomonb • today at 3:18 PM • 0 replies • view on HN

Indeed! L is the least fixed point of `F(L) = 1 + X × L`. You get to the series by applying F repeatedly starting from the empty type:

F(0) = 1

F^2(0) = 1 + X

F^3(0) = 1 + X + X^2