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
Coming from some experience with dependent type systems, CUE looks very interesting and very clever.
A few (hopefully straightforward) questions:
Is it possible to specify a value as generated and/or unique?
Is it possible to specify something like a foreign key constraint over a single column? Perhaps a form of comprehension?
Is it possible to specify constraints across multiple fields/values? Offhand, I'm not clear how to do this neatly without some form of tagged tuple type, but it seems to me that if this existed then the answer for [2] would extend naturally. Perhaps I am not fully understanding definitions, and they might be used for this sort of thing.
This discussion was converted from issue #2750 on January 01, 2024 21:24.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Coming from some experience with dependent type systems, CUE looks very interesting and very clever.
A few (hopefully straightforward) questions:
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions