8 Show.show
<(bool * string) list
option>
15 Typeable.mk
<float> 3.0;
16 Typeable.mk
<int list
> [1;2;3]]
18 type 'a seq
= [`Nil
| `Cons
of 'a
* 'a seq
]
23 type intlist
= ([nil
| `Cons
of int * 'a
] as 'a
)
27 Typeable.throwing_cast
<intlist
>
28 (Typeable.mk
<int seq
> (`Cons
(1, `Cons
(2, `Cons
(3, `Nil
)))))
31 Eq.eq
<bool> true (Eq.eq
<int> 3 4)
34 print_endline
"Tests succeeded!"