summaryrefslogtreecommitdiffhomepage
path: root/ocaml.html.markdown
diff options
context:
space:
mode:
authorMarcel Ribeiro Dantas <ribeirodantasdm@gmail.com>2022-06-27 00:28:16 +0200
committerGitHub <noreply@github.com>2022-06-27 00:28:16 +0200
commit5d133e847846b4c8d436f7a567674c2e1df35a13 (patch)
tree7ebc7704f02ceef195a8896a80a06ed81cc12585 /ocaml.html.markdown
parent27f7f03401ff747a61a912fdf73549b1788b13e1 (diff)
parent8f28c8021b8ce3cb791861ad19c41e12228d8bcd (diff)
Merge branch 'master' into patch-1
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. *)