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

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) ^^^^ as this would be an incompatable change i'd like to know who's using create-swank-server outside of slime and what they think about this change. -- -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

"Marco Baringer" <mb@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

Zach Beane <xach@xach.com> writes:
"Marco Baringer" <mb@bese.it> writes:
what i really meant was:
(create-swank-server &key port style announce-fn dont-close external-format) ^^^^
sorry.
Isn't that how swank:create-server already works?
how did i not see that? :( -- -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
participants (2)
-
Marco Baringer
-
Zach Beane