Device providing ability to use recursive types #1898
Labels
C-Moderate Effort
Should take a moderate amount of time to address.
L-Capability checking
Capability checking determines which capabilities are required by a given piece of code.
S-Nice to have
The bug fix or feature would be nice but doesn't currently have much negative impact.
Z-Feature
A new feature to be added to the game.
#1894 adds a
CRectype
capability, but it is not used anywhere in the code, and currently it is always possible to use recursive types. Since we went with equirecursive types, there is no special term-level syntax required to use recursive types, and we currently do not do requirements analysis on types.We should create a device that provides the ability to use recursive types (and restrict their use otherwise). This will necessitate adding requirements analysis for types (which is probably a good idea anyway, e.g. it should not be possible to mention a sum type unless you have an
ADT calculator
equipped).The text was updated successfully, but these errors were encountered: