crepe icon indicating copy to clipboard operation
crepe copied to clipboard

Relation/struct named fields

Open Z-snails opened this issue 3 years ago • 1 comments

Currently relations only support tuple structs, named field structs would be good for documentation purposes. I would certainly think it would be useful to use the input structs in non-crepe code, as it could be clearer than anonymous tuples.

Z-snails avatar Feb 23 '22 16:02 Z-snails

Hi, thanks for the suggestion. This is possible but also would require quite a few substantial changes to how the compiled code is generated, in particular the index data structure would need to be updated, and more parsing logic for relations introduced.

ekzhang avatar Feb 25 '22 05:02 ekzhang