diff --git a/data/tutorials/getting-started/1_01_a_tour_of_ocaml.md b/data/tutorials/getting-started/1_01_a_tour_of_ocaml.md index 68fceb4e24..4a1bdb14cd 100644 --- a/data/tutorials/getting-started/1_01_a_tour_of_ocaml.md +++ b/data/tutorials/getting-started/1_01_a_tour_of_ocaml.md @@ -376,7 +376,7 @@ val map : ('a -> 'b) -> 'a list -> 'b list = ### Pattern Matching, Cont'd -Patten matching isn't limited to lists. Any kind of data can be inspected using it, except functions. Patterns are expressions that are compared to an inspected value. It could be performed using `if … then … else …`, but pattern matching is more convenient. Here is an example using the `option` data type that will be detailed in the [Modules and the Standard Library](#modules-and-the-standard-library) section. +Pattern matching isn't limited to lists. Any kind of data can be inspected using it, except functions. Patterns are expressions that are compared to an inspected value. It could be performed using `if … then … else …`, but pattern matching is more convenient. Here is an example using the `option` data type that will be detailed in the [Modules and the Standard Library](#modules-and-the-standard-library) section. ```ocaml # #show option;; type 'a option = None | Some of 'a