3 ms·
I remember reading the multimethods post and thinking it was wrong as it does not dispatch on all arguments, as dylan would (and I believe closure would too) -
by throwaway_pdp09 7y ago
I remember reading the multimethods post and thinking it was wrong as it does not dispatch on all arguments, as dylan would (and I believe closure would too) - correct me if I'm wrong though.
- arunix 7y agoIt does dispatch on the types of all arguments, ... that's the point of it. Some sample code (I modified it to be commutative on the argument types): https://gist.github.com/arunbear/caef7546d297c01fddbd3f671179bb70 https://gist.github.com/arunbear/caef7546d297c01fddbd3f67117...