You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Variant types cannot be recursive in Liquidity. That means that it is not possible to define custom types like list or tree.
For list one can use built-in lists, of course, but I find it in general quite useful to be able to define custom recursive data types.
One use case for such types is an AST for a simple embedded DSL.
The text was updated successfully, but these errors were encountered:
Variant types cannot be recursive in Liquidity. That means that it is not possible to define custom types like
list
ortree
.For
list
one can use built-in lists, of course, but I find it in general quite useful to be able to define custom recursive data types.One use case for such types is an AST for a simple embedded DSL.
The text was updated successfully, but these errors were encountered: