Remove stray argument from the alternative matching syntax in OCaml tutorial.

It wouldn't cause a syntax error, but wouldn't give intended result either.
This commit is contained in:
Daniil Baturin 2014-09-12 19:35:56 +07:00
parent d9110cf7bc
commit 962d58d013

View File

@ -297,7 +297,7 @@ let is_zero x =
;;
(* Alternatively, you can use the "function" keyword. *)
let is_one x = function
let is_one = function
| 1 -> true
| _ -> false
;;