Closed ice1000 closed 5 years ago
Currently, I will make this code
rec nat: Type = Sum { Zero | Suc nat };
let unit: Type = Sum { TT };
nat ++ unit
return Sum { TT | Zero | Suc nat }
, instead of rec bla: Type = Sum { TT | Zero | Suc bla }; bla
.
Syntax:
Things to consider: