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

Function notation is not pretty-printed #1367

Closed
Vtec234 opened this issue Jul 23, 2022 · 0 comments · Fixed by #1369
Closed

Function notation is not pretty-printed #1367

Vtec234 opened this issue Jul 23, 2022 · 0 comments · Fixed by #1369

Comments

@Vtec234
Copy link
Member

Vtec234 commented Jul 23, 2022

Description

Consider this example. The notation for three is not pretty-printed.

def two := 2
notation "𝟚" => two
/- 𝟚 : Nat -/
#check 𝟚

def three (_ : Nat) := 3
notation "𝟛" => three
/- three 10 : Nat -/
#check 𝟛 10

Steps to Reproduce

Expected behavior: We see 𝟛 10 : Nat in the message.

Actual behavior: We see three 10 : Nat.

Reproduces how often: 100%

Versions

nightly-2022-07-22

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 a pull request may close this issue.

1 participant