mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-01-13 12:45:58 +00:00
Update ocaml.html.markdown (#4181)
This commit is contained in:
parent
334b090a4d
commit
d6becca820
@ -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. *)
|
||||||
|
Loading…
Reference in New Issue
Block a user