[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] TinyCLOS specializer question
From: |
Andreas Rottmann |
Subject: |
Re: [Chicken-users] TinyCLOS specializer question |
Date: |
Fri, 31 Dec 2004 01:51:01 +0100 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
"Joel Reymont" <address@hidden> writes:
> What is the difference between
>
> (define-method (foo (self <bar>) baz) ...
>
> and
>
> (define-method (foo (self <bar>) (baz <top>)) ...
>
> Which way is the best?
>
They are the same, except the second is a bit more
verbose/explicit. Use the one you prefer.
My 2 €-cent, FWIW
--
Andreas Rottmann | address@hidden | address@hidden | address@hidden
http://yi.org/rotty | GnuPG Key: http://yi.org/rotty/gpg.asc
Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62
Life is a sexually transmitted disease.