[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] coops

From: schugk
Subject: [Chicken-users] coops
Date: Mon, 17 Jan 2011 03:39:45 +0100
User-agent: Internet Messaging Program (IMP) H3 (4.1.6)


i am playing around with coops and have some problems with <list> and <pair>. I know that are fixed in version 1.1 but i can download 1.0 only via chicken-install.

The next point is that the performance is not as good as expected. Are there any tricks? For example i have a method 'satisfy' with 2 parameters. The first is specialized for some classes, the second is always a list.

(define-methode (satisfy (p <link-p>) (e #t)) ...)
(define-methode (satisfy (p <type-p>) (e #t)) ...)

Is it better to specialize the second argument too or switch the order of arguments?

Thank you in advance,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]