![](https://secure.gravatar.com/avatar/9e2504e0b74e5384af09ce8a660afac4.jpg?s=120&d=mm&r=g)
Ryan Davis <ryan@acceleration.net> writes:
The answer we arrived at was "yes":
(defun send-email (to from subject body) (let ((to (etypecase to (string to) ((integer 0) (email (fetch-client to))) (client (email to)) ))) ;; ... more code ))
The "to" parameter can be anythings that can be mapped to an email address.
Yes, it's what's usually called a "designator", specifically, an email designator. CL itself defines and uses a few designator types (string designators, package designators, pathname designators, list designators, etc). -- __Pascal Bourguignon__ http://www.informatimago.com/ A bad day in () is better than a good day in {}.