Maybe "my two-bit typesystem can only handle a tiny subset of OO|FP" isn't good justification to claim that anything outside it is worthless?
Maybe "my two-bit typesystem can only handle a tiny subset of OO|FP" isn't good justification to claim that anything outside it is worthless?
A list of a is a type t such that t = 1+a*t.
Solving: t = 1/(1-a)
Its formal series: 1 + a + a*a + a*a*a + ...
t is indeed the sum of lists of size n for all n!
What series are reachable as fixpoint of polynomials? Who studied that, especially wrt data types?
A list of a is a type t such that t = 1+a*t.
Solving: t = 1/(1-a)
Its formal series: 1 + a + a*a + a*a*a + ...
t is indeed the sum of lists of size n for all n!
What series are reachable as fixpoint of polynomials? Who studied that, especially wrt data types?