On Mon, Sep 05, 2011 at 05:50:07PM +0200, Alexander Burger wrote:
> ...
>    (class +Add)
>    (dp foo% (X Y)
>       (+ X Y) )
>    (dp bar% (X Y Z)
>       (+ X Y Z) )

BTW, another serious drawback with the (foo> '+Cls <arg>) approach is
that you can't easily do some things which make Lisp so powerful, which
you can do with a function like 'foo%', e.g

   (mapcar 'foo% ..)

Instead, you must write a full anonymous function

   (mapcar '((X) (foo> '+Cls X)) ..)

Same with 'apply', 'pass' etc.

- Alex
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to