2 ms·
Dynamic dispatch is available for functions: https://docs.racket-lang.org/multimethod/index.html https://docs.racket-lang.org/multimethod/index.html Since Rack
by moron4hire 9y ago
Dynamic dispatch is available for functions: https://docs.racket-lang.org/multimethod/index.html https://docs.racket-lang.org/multimethod/index.html
Since Racket methods are just functions around a class context, it seems like it should be possible to make these into methods.
- alien_at_work 9y agoIt's good that they have that, but most of the OO API's (including the web server stuff AFAIR) is single dispatch.
- samth 9y agoThe web server doesn't really use the object-oriented features. OO is mostly used in the Racket standard library for the GUI, where it models existing single-inheritance GUI libraries.