Skip to content
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

Introduce new cgp-field constructs #36

Merged
merged 8 commits into from
Dec 7, 2024
Merged

Introduce new cgp-field constructs #36

merged 8 commits into from
Dec 7, 2024

Conversation

soareschen
Copy link
Collaborator

@soareschen soareschen commented Dec 7, 2024

  • Introduce the product type constructs Cons and Nil.
  • Introduce the sum type constructs Either and Void.
  • Introduce the Field type for tagged field value.
  • Introduce the Product! macro for building product types.
  • Introduce the product! macro for building product expressions.
  • Introduce the Sum! macro for building sum types.
  • Change the symbol! macro to generate product type of Char using Cons and Nil.

@soareschen soareschen merged commit fdeaa90 into main Dec 7, 2024
4 checks passed
@soareschen soareschen deleted the field-types branch December 7, 2024 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant