Skip to content

Add support for define attribute :is_eq#82

Open
ajreynol wants to merge 3 commits intomainfrom
isEq
Open

Add support for define attribute :is_eq#82
ajreynol wants to merge 3 commits intomainfrom
isEq

Conversation

@ajreynol
Copy link
Member

@ajreynol ajreynol commented Oct 1, 2024

No description provided.

Copy link
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
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
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

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