Update ocaml.html.markdown (#4181)

This commit is contained in:
15532 2022-01-04 00:18:53 +08:00 committed by GitHub
parent 334b090a4d
commit d6becca820
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -201,7 +201,7 @@ let (~/) x = 1.0 /. x ;;
(* Lists are enclosed in square brackets, items are separated by (* Lists are enclosed in square brackets, items are separated by
semicolons. *) semicolons. *)
let my_list = [1; 2; 3] ;; let my_list = [1; 2; 3] ;; (* Has type "int list". *)
(* Tuples are (optionally) enclosed in parentheses, items are separated (* Tuples are (optionally) enclosed in parentheses, items are separated
by commas. *) by commas. *)