5 ms·
I have no CL experience but doesn't a CLOS system require multiple dispatch?
by rscho 6y ago
I have no CL experience but doesn't a CLOS system require multiple dispatch?
- Pet_Ant 6y agoWith macros you can easily build your own multiple dispatch, it's really not a concern.
- rscho 6y agoWell, 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?
- ska 6y agoIt's multiple dispatch, but the meta-object protocol runs deeper than that (e.g. :before, :after, :around )
- dfox 6y agoCLOS 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.