| 1 |
type t = A | B |
| 2 |
val print_t : Format.formatter -> t -> unit = <fun> |
| 3 |
type u = C of t |
| 4 |
- : t = ~B |
| 5 |
- : u = C ~B |
| 6 |
type old = OA | OB |
| 7 |
val print_old : old -> unit = <fun> |
| 8 |
- : old list = [Old(A); Old(B)] |
| 9 |
- : old list = [OA; OB] |
| 10 |
type ('a, 'b) v = D of 'a * 'b |
| 11 |
type 'a printer = Format.formatter -> 'a -> unit |
| 12 |
val print_generic : 'a printer -> 'b printer -> ('a, 'b) v printer = <fun> |
| 13 |
- : (int, t) v list = [D<0, ~A>; D<42, ~B>] |
| 14 |
Unbound value name_that_does_not_exist. |
| 15 |
List.map has the wrong type for a printing function. |
| 16 |
Unbound value name_that_does_not_exist. |
| 17 |
List.map has the wrong type for a printing function. |
| 18 |
val non_installed_printer : 'a -> unit -> unit = <fun> |
| 19 |
The printer named non_installed_printer is not installed. |
| 20 |
|