2026-10-20 17:51 UTC
@slava@mathstodon.xyz @pervognsen@mastodon.social @joe@f.duriansoftware.com As an aside, I never really understood why type classes got the name "ad-hoc polymorphism" when they are very explicitly rule-based (and at least in their basic incarnations, do not allow for ad-hoc ambiguity between different orders of rule application). The name "ad-hoc polymorphism" seems much more suitable for C++-style overloading.
Replies (1)
-
@pervognsen@mastodon.social 2026-10-20 17:54
@zwarich@hachyderm.io @slava@mathstodon.xyz @joe@f.duriansoftware.com I've always just taken ad-hoc to mean anything that isn't parametric. But I don't actually know the history. "Bounded polymorphism" seems to be a reasonably common description when referring to typeclasses.