Skip to content

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 Comments

  1. Fred wrote:

    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.

    Friday, September 25, 2009 at 10:12 pm | Permalink
  2. Grant wrote:

    Fred:
    Thanks!

    Saturday, September 26, 2009 at 8:32 am | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*