3 ms·
OCaml has a sophisticated object system. See: https://realworldocaml.org/v1/en/html/objects.html https://realworldocaml.org/v1/en/html/objects.html You can do
by mjt0229 12y ago
OCaml has a sophisticated object system. See:
https://realworldocaml.org/v1/en/html/objects.html https://realworldocaml.org/v1/en/html/objects.html
You can do a lot of traditional 'OO'-style things with functors and modules, though, so you don't need objects necessarily to get a lot of OO features.