Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardobrasca authored Nov 13, 2023
1 parent 4132b98 commit 4a1e4ab
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,10 @@ We highlight two syntactical differences.
Conveniently, we can write `f : X → Y` to mean "`f` has type `X → Y`",
in other words "`f` is a function from `X` to `Y`".

* Secondly, type theorists do not use the mapsto symbol (``),
but instead use lambda-notation.
* Secondly, type theorists use lambda-notation.
This means that we can define the square function on the integers via
`λ x, x^2`, which translates to `x ↦ x^2` in set-theoretic notation.
For more information about `λ`, see the Wikipedia page on
`fun x ↦ x^2`, which translates to `x ↦ x^2` in set-theoretic notation.
For more information about `λ` (called `fun` in Lean 4), see the Wikipedia page on
[lambda calculus](https://en.wikipedia.org/wiki/Lambda_calculus).

For a more extensive discussion of type theory,
Expand Down

0 comments on commit 4a1e4ab

Please sign in to comment.