scratch/main> alias.term existingName newName
scratch/main> alias.term frobnicate#2jdk10 zonk.betterName
scratch/main> alias.term Nat.drop .utils.Nat.-
alias.term foo bar
creates the name bar
as an alias for the term foo
. The term can then be referenced by both names. Metadata linked to foo
is copied over to bar (use unlink
if this isn't what you want). foo
and bar
can be any term names including operators and hash qualified names.