2 ms·
OCaml doesn't have typeclasses, does it? It's been a while since I've used it, so things may've changed or my memory may be failing...
by dllthomas 13y ago
OCaml doesn't have typeclasses, does it? It's been a while since I've used it, so things may've changed or my memory may be failing...
- colanderman 13y agoIt now has first-order modules, which can be used to accomplish almost the same thing. The biggest difference is first-order modules are explicit while typeclasses are implicit. Whether this is a good or bad thing is up for debate.
- dllthomas 13y agoIt had first order modules when I was using it, but people may well have found uses for them that make the comparison more apparent.