Skip to content

Commit

Permalink
Small clarification on multiple renamings
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellvitez authored and avigad committed Dec 23, 2020
1 parent 9dcf04e commit 84d5b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interacting_with_lean.rst
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ creates aliases for everything in the ``nat`` namespace *except* the identifiers
open nat (renaming mul → times) (renaming add → plus)
(hiding succ sub)
creates aliases for everything in the ``nat`` namespace except ``succ`` and ``sub``, renaming ``nat.add`` to ``plus``.
creates aliases for everything in the ``nat`` namespace except ``succ`` and ``sub``, renaming ``nat.mul`` to ``times` and ``nat.add`` to ``plus``.

It is sometimes useful to ``export`` aliases from one namespace to another, or to the top level. The command

Expand Down

0 comments on commit 84d5b4b

Please sign in to comment.