Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: macros and notations #147

Merged
merged 13 commits into from
Nov 15, 2024
2 changes: 1 addition & 1 deletion Manual.lean
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Describe {name}`Option`, including the default coercions and its API.

:::planned 122
* {deftech}[Unexpanders]
* Delaboration
* {deftech key:="delaborate"}[Delaboration]
* Pretty printing
* Parenthesizers
:::
Expand Down
12 changes: 12 additions & 0 deletions Manual/Language.lean
Original file line number Diff line number Diff line change
Expand Up @@ -814,3 +814,15 @@ tag := "attributes"
{docstring Dynamic.mk}

{docstring Dynamic.get?}

# Coercions
%%%
tag := "coercions"
%%%

:::planned 146
* {deftech}[Coercions]
* When they are inserted
* Varieties of coercions
* When should each be used?
:::
2 changes: 1 addition & 1 deletion Manual/Language/Files.lean
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ tag := "keywords-and-identifiers"
%%%


An {deftech}[identifier] consists of one or more identifier components, separated by `'.'`.{index}[identifier]
An {tech}[identifier] consists of one or more identifier components, separated by `'.'`.{index}[identifier]

{deftech}[Identifier components] consist of a letter or letter-like character or an underscore (`'_'`), followed by zero or more identifier continuation characters.
Letters are English letters, upper- or lowercase, and the letter-like characters include a range of non-English alphabetic scripts, including the Greek script which is widely used in Lean, as well as the members of the Unicode letter-like symbol block, which contains a number of double-struck characters (including `ℕ` and `ℤ`) and abbreviations.
Expand Down
Loading
Loading