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
As opposed to def and abbrev, alias does not open the namespaces of the declaration it is in:
import Batteries.Tactic.Alias
def Foo.bar : Nat := 0
alias Foo.baz := bar -- unknown constant 'bar'
def Foo.qux := bar -- works
abbrev Foo.quux := bar -- works
The text was updated successfully, but these errors were encountered:
As opposed to
def
andabbrev
,alias
does not open the namespaces of the declaration it is in:The text was updated successfully, but these errors were encountered: