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

Remove references to HasZero/HasOne #196

Merged
merged 1 commit into from
Nov 2, 2022
Merged

Remove references to HasZero/HasOne #196

merged 1 commit into from
Nov 2, 2022

Conversation

gebner
Copy link
Member

@gebner gebner commented Nov 1, 2022

I think this fixes #192

@@ -31,13 +31,13 @@ structure NumInfo where
deriving Inhabited

partial def isNumber? (e : Expr) : Option NumInfo := do
if e.isAppOfArity `HasZero.zero 2 then pure {
if e.isAppOfArity `Zero.zero 2 then pure {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if e.isAppOfArity `Zero.zero 2 then pure {
if e.isAppOfArity ``Zero.zero 2 then pure {

If we had used double-backtick in the first place this wouldn't have happened.

@digama0 digama0 merged commit 194410b into master Nov 2, 2022
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.

Notations no longer work in binport
2 participants