From 97b58b53676687b7bae4fbbdb8165d3c8340611d Mon Sep 17 00:00:00 2001 From: Johann Hofmann Date: Mon, 9 Nov 2015 07:32:42 +0100 Subject: [PATCH] Fix typos in lesson 3 step 5 --- ocaml-lessons/lesson3/step5/step.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ocaml-lessons/lesson3/step5/step.html b/ocaml-lessons/lesson3/step5/step.html index 1e2fd8b..f075267 100644 --- a/ocaml-lessons/lesson3/step5/step.html +++ b/ocaml-lessons/lesson3/step5/step.html @@ -5,7 +5,7 @@

Anonymous functions

(fun x -> x + 1) 42


-

We can bound an anonymous function to an identifier. That's way, we -have severals ways to define functions:

+

We can bind an anonymous function to an identifier. That way, we +have several ways to define functions:

let incr = fun x -> x + 1

incr 42