Newsgroups: comp.lang.lisp
From: Pascal Bourguignon <s...@thalassa.informatimago.com>
Date: 26 Mar 2004 21:42:42 +0100
Local: Fri, Mar 26 2004 3:42 pm
Subject: Re: Method specialization style question
Peter Seibel <pe...@javamonkey.com> writes: But now we've progressed. > > You don't withdraw numbers, you withdraw money! > Yeah, yeah. You are, of course, correct. However I'm not *really* > (defmethod withdraw ((account account) amount) > vs > (defmethod withdraw ((account account) (amount money)) There may be several kind of "money". Not only devises that are all of You could have: Then you would definitely want to do: (defmethod withdraw ((account account) (amount money)) ...) (But actually, as it has been noted, since there are several kind of -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||