summaryrefslogtreecommitdiffhomepage
path: root/ocaml.html.markdown
diff options
context:
space:
mode:
author15532 <37644685+15532@users.noreply.github.com>2022-01-04 00:18:53 +0800
committerGitHub <noreply@github.com>2022-01-04 00:18:53 +0800
commitd6becca820eaed1ae1428b89a22f83901f4085b3 (patch)
tree29583f599e7a37c29978bbf1f30ee5d510af5035 /ocaml.html.markdown
parent334b090a4d4bca5efbe4bff513d596f91baeb115 (diff)
Update ocaml.html.markdown (#4181)
Diffstat (limited to 'ocaml.html.markdown')
-rw-r--r--ocaml.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/ocaml.html.markdown b/ocaml.html.markdown
index b631df0a..70668611 100644
--- a/ocaml.html.markdown
+++ b/ocaml.html.markdown
@@ -201,7 +201,7 @@ let (~/) x = 1.0 /. x ;;
(* Lists are enclosed in square brackets, items are separated by
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
by commas. *)