Note: I'm raising this issue mostly for bookkeeping purposes -- if someone wants to address them please feel free to! (Anyways, I'm probably going to come back and add these in myself sometime in the future)
Make clear goalDecl.type and Lean.Meta.getMVarType goal are the same -- possible confusion from two options.
Similarly, what is the difference between Lean.Meta.inferType declExpr and decl.type?
Note: I'm raising this issue mostly for bookkeeping purposes -- if someone wants to address them please feel free to! (Anyways, I'm probably going to come back and add these in myself sometime in the future)
Make clear
goalDecl.type
andLean.Meta.getMVarType goal
are the same -- possible confusion from two options.Similarly, what is the difference between
Lean.Meta.inferType declExpr
anddecl.type
?Also this
has and-then failure behavior; if the first rule fails then the second is applied. However, this
does not work. This could be pointed out in the text.