-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data type guards #42
Comments
Notes on API designs currently being explored:
|
Combined with #177, this would allow deleting a ton of the boilerplate associated with defining and providing a non-generic data type. Candidates within rebellion include:
|
The API for this seems mostly designed for now, see the three subtasks. |
Analogous to
struct-guard/c
, there should bexxx-guard/c
contract combinators for use with each kind of type inrebellion/type
. They should provide APIs similar to the constructors of the kind of types they're meant for. Subtasks:The text was updated successfully, but these errors were encountered: