4 ms·
OCaml has row polymorphism. The syntax for a function that prints `name` from a record that has `name` and possibly other fields is: val print_name: <name:
by justinpombrio 4y ago
OCaml has row polymorphism. The syntax for a function that prints `name` from a record that has `name` and possibly other fields is:
val print_name: <name: string; ..> −> unit