Hacker News new | ask | show | jobs
by rscho 2029 days ago
I have no CL experience but doesn't a CLOS system require multiple dispatch?
3 comments

CLOS is inherently multiple dispatch, but Flavours that are the most prominent precursor of CLOS were single dispatch. Interesting consequence of that is that IIRC traditional implementation of CLOS/MOP does not really use multiple-dispatch internally.
It's multiple dispatch, but the meta-object protocol runs deeper than that (e.g. :before, :after, :around )
With macros you can easily build your own multiple dispatch, it's really not a concern.
Well, there's at least the concern that multiple dispatch results in unsafe edge cases across module boundaries, apparently.

So, multiple dispatch as a library yes (and racket has that), but probably not ok in the core language?