We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The by exact is necessary in this example:
by exact
example : List (Unit -> Nat) := let g := [by exact fun _ => 0]; g -- ok example : List (Unit -> Nat) := let g := [fun _ => 0]; g -- fail
stuck at solving universe constraint ?u.61+1 =?= max ?u.45 (?u.50+1) while trying to unify (x : ?m.46) → ?m.57 x : Sort (max ?u.45 (?u.50 + 1)) with (x : ?m.46) → ?m.57 x : Sort (max ?u.45 (?u.50 + 1))
Tested on Lean (version 4.0.0-nightly-2022-03-17, commit 0d03c6e3198c, Release).
Lean (version 4.0.0-nightly-2022-03-17, commit 0d03c6e3198c, Release)
The text was updated successfully, but these errors were encountered:
6007147
No branches or pull requests
The
by exact
is necessary in this example:Tested on
Lean (version 4.0.0-nightly-2022-03-17, commit 0d03c6e3198c, Release)
.The text was updated successfully, but these errors were encountered: