[ocaml/en] Fix typo

This commit is contained in:
Chenggang Duan 2015-02-12 17:02:16 +08:00
parent 8c70acc9fb
commit ea5c3c1f3e

View File

@ -293,7 +293,7 @@ type int_list_list = int list_of_lists ;;
(* Types can also be recursive. Like in this type analogous to
built-in list of integers. *)
type my_int_list = EmptyList | IntList of int * my_int_list ;;
let l = Cons (1, EmptyList) ;;
let l = IntList (1, EmptyList) ;;
(*** Pattern matching ***)