Closed dwrensha closed 2 years ago
In the MetaM chapter, whnf' has an unused md parameter:
MetaM
whnf'
md
https://github.com/arthurpaulino/lean4-metaprogramming-book/blob/b7762483d16577eb2f25d6a57942f76054acb578/lean/main/metam.lean#L621-L625
It looks to me like this should be removed.
Lower down, the transparency mode is controlled via withTransparency:
withTransparency
https://github.com/arthurpaulino/lean4-metaprogramming-book/blob/b7762483d16577eb2f25d6a57942f76054acb578/lean/main/metam.lean#L647
cc @JLimperg, who added this section as part of #34.
Yes we can remove it. @dwrensha do you want to make the PR?
Indeed this was left over from an earlier version of the text. Thank you for the fix!
In the
MetaM
chapter,whnf'
has an unusedmd
parameter:https://github.com/arthurpaulino/lean4-metaprogramming-book/blob/b7762483d16577eb2f25d6a57942f76054acb578/lean/main/metam.lean#L621-L625
It looks to me like this should be removed.
Lower down, the transparency mode is controlled via
withTransparency
:https://github.com/arthurpaulino/lean4-metaprogramming-book/blob/b7762483d16577eb2f25d6a57942f76054acb578/lean/main/metam.lean#L647
cc @JLimperg, who added this section as part of #34.