Hacker News new | ask | show | jobs
by ufo 2050 days ago
You can still give a name to the interface. However, interfaces apply to modules, not to types. In Ocaml you'd say "this module implements the Comparable interface" while in an OO languague you'd say "this type is a subtype of Comparable". Sorry for the confusion.
1 comments

Ah, thanks for the clarification.