Looking at Generic Functions in Scheme

A common criticism of Scheme is that it does not have generic methods; resulting in the tedium of having to call variations of the same function but for different types. Wanting to learn more about this, within Scheme, I was pointed at TinyCLOS here and here, for reference.

(via alaric)

2 thoughts on “Looking at Generic Functions in Scheme”

  1. Tiny CLOS is awesome as a description but as presented it is very slow. The code is written to be understandable rather than efficient. It has been sped up by a number of people though – check out Swindle and Chicken Scheme’s version of tiny-clos.
    Meroon is another generic function based OO system for scheme that is designed for performance, with Meroonet serving the same didactic purpose as tiny-clos.

Leave a Reply

Your email address will not be published. Required fields are marked *