Meta:

alias List = Algebraic!(typeof(null), Cons!(int, This));

Also your Cons seems a value type, like Algebraic itself. You have to avoid creating an infinite-size algebraic value.

Bye,
bearophile

Reply via email to