2022-06-13 11:18:36 +02:00
|
|
|
let
|
|
|
|
type array_of_int = array of int
|
|
|
|
|
2022-06-13 11:24:47 +02:00
|
|
|
type record = {
|
|
|
|
a: int,
|
|
|
|
b: string,
|
|
|
|
c: type
|
|
|
|
}
|
|
|
|
|
2022-06-13 11:18:36 +02:00
|
|
|
var a :=
|
|
|
|
"a string"
|
|
|
|
in
|
|
|
|
array[
|
|
|
|
12
|
|
|
|
]
|
|
|
|
;
|
|
|
|
|
|
|
|
array_of_int[
|
|
|
|
27
|
|
|
|
]
|
|
|
|
of
|
|
|
|
42
|
|
|
|
;
|
|
|
|
|
|
|
|
record {
|
|
|
|
a = 1,
|
|
|
|
b = "2",
|
|
|
|
c = nil
|
|
|
|
}
|
|
|
|
end
|