Skip to content

Booleans and conditionals - #30

Merged
dorchard merged 5 commits into
mainfrom
cond-expr
Aug 19, 2026
Merged

Booleans and conditionals#30
dorchard merged 5 commits into
mainfrom
cond-expr

Conversation

@nikolaushuber

Copy link
Copy Markdown
Collaborator

This PR adds gradable Booleans together with and, or, and not.

It also introduces conditional expressions.

This PR supersedes #9

@dorchard dorchard left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! A couple of comments that could lead to some slightly simplification in the code, but otherwise great.

Comment thread src/Lang/Parser.y Outdated
Comment thread src/Lang/Syntax.hs Outdated
Comment thread src/Lang/Types.hs Outdated
@dorchard

Copy link
Copy Markdown
Member

Great- thank you!

@dorchard
dorchard merged commit fb590ff into main Aug 19, 2026
1 check passed
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.

2 participants