You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Definition a_def:
a x =
case x of
| y::ys => if y = T then SOME y else SOME F
| [] => NONE
End
parses correctly, but prints as
val a_def =
⊢ ∀x. a x = case x of [] => NONE | T::ys => SOME y | y::ys => SOME F: thm
where the y in the second clause is printed as a free variable (just as it appears), even though it’s actually the y of the first branch of the definition, and thus bound.
The text was updated successfully, but these errors were encountered:
The definition
parses correctly, but prints as
where the
y
in the second clause is printed as a free variable (just as it appears), even though it’s actually they
of the first branch of the definition, and thus bound.The text was updated successfully, but these errors were encountered: