Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ocaml-lessons/lesson3/step5/step.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ <h3>Anonymous functions</h3>
<p><code>(fun x -> x + 1) 42</code></p>

<br />
<p>We can bound an anonymous function to an identifier. That's way, we
have severals ways to define functions:</p>
<p>We can bind an anonymous function to an identifier. That way, we
have several ways to define functions:</p>
<p><code>let incr = fun x -> x + 1</code></p>
<p><code>incr 42</code></p>