Skip to content

Add support for define attribute :is_eq#82

Merged
ajreynol merged 6 commits intomainfrom
isEq
Mar 27, 2026
Merged

Add support for define attribute :is_eq#82
ajreynol merged 6 commits intomainfrom
isEq

Conversation

@ajreynol
Copy link
Copy Markdown
Member

@ajreynol ajreynol commented Oct 1, 2024

No description provided.

Copy link
Copy Markdown
Collaborator

@hansjoergschurr hansjoergschurr left a comment

Choose a reason for hiding this comment

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

Since types can't contain stuck terms anymore, couldn't the same be achieved using eo::requires i.e.

(declare-const test1 (eo::requires (eo::add 1 1) 2 Bool))

@ajreynol
Copy link
Copy Markdown
Member Author

ajreynol commented Oct 3, 2024

Hm that's true but its a bit of a hack I think... I'll think about this more, it's not high priority.

@ajreynol ajreynol changed the title Add support for :is_eq Add support for define attribute :is_eq May 9, 2025
// run type checking
typeCheck(e, val);
}
else if (a==Attr::IS_EQ)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Misses a clang format run I think

@ajreynol ajreynol merged commit d41ab3a into main Mar 27, 2026
24 checks passed
@ajreynol ajreynol deleted the isEq branch March 27, 2026 14:45
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