chore: fix typo
This commit is contained in:
parent
f1a2d4dee1
commit
c7ebc33f97
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ def Sum.str : Option Nat → String :=
|
|||
|
||||
* Implicit lambdas
|
||||
|
||||
In Lean 3 stdlib, we find many [instances](https://github.com/leanprover/lean/blob/master/library/init/category/reader.lean#L39) of the dreaful `@`+`_` idiom.
|
||||
In Lean 3 stdlib, we find many [instances](https://github.com/leanprover/lean/blob/master/library/init/category/reader.lean#L39) of the dreadful `@`+`_` idiom.
|
||||
It is often used when we the expected type is a function type with implicit arguments,
|
||||
and we have a constant (`reader_t.pure` in the example) which also takes implicit arguments. In Lean 4, the elaborator automatically introduces lambda's
|
||||
for consuming implicit arguments. We are still exploring this feature and analyzing its impact, but the experience so far has been very positive. As an example,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue