[slime-devel] api for swank:create-swank-server

Marco Baringer mb at bese.it
Wed Feb 23 12:30:43 UTC 2005


"Marco Baringer" <mb at bese.it> writes:

> create-swank-server's API is currently:
>
> (create-swank-server &optional port style announce-fn dont-close external-format)
>
> i'm not too keen on all those &optional arg (especially since i often
> like to set dont-close to T and leave pert, style and announce-fn as
> tehir defalut values). no i'd like to change the API to this:
>
> (create-swank-server &optional port &key style announce-fn dont-close external-format)
>                                     ^^^^

what i really meant was:

(create-swank-server &key port style announce-fn dont-close external-format)
                     ^^^^

sorry.

-- 
-Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
	-Leonard Cohen



More information about the slime-devel mailing list