liquidity icon indicating copy to clipboard operation
liquidity copied to clipboard

Support for recursive variant types (list, tree, etc.)

Open annenkov opened this issue 2 years ago • 0 comments

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.

annenkov avatar Jul 15 '21 14:07 annenkov