doc: f(x) is no longer allowed (#2135)
This commit is contained in:
parent
ebcab266c6
commit
2d33726c69
1 changed files with 2 additions and 0 deletions
|
|
@ -196,6 +196,8 @@ example (f : Nat → Nat) (a b c : Nat) : f (a + b + c) = f (a + (b + c)) :=
|
|||
congrArg f (Nat.add_assoc ..)
|
||||
```
|
||||
|
||||
In Lean 4, writing `f(x)` in place of `f x` is no longer allowed.
|
||||
|
||||
## Dependent function types
|
||||
|
||||
Given `α : Type` and `β : α → Type`, `(x : α) → β x` denotes the type of functions `f` with the property that,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue