[slime-devel] Feature suggestion

Michael Price ectospheno at gmail.com
Thu Aug 24 19:59:13 UTC 2006


On 8/24/06, Marco Antoniotti <marcoxa at cs.nyu.edu> wrote:
> Hi
>
> I would like to suggest a feature for SLIME taken from Lispworks.
>
> In LW I can type
>
> prompt> member 42 '((3 2 3) (1 42 33) (42 11 22)) :key #'second
> ((1 42 33) (42 11 22))
>
> I.e. a line gets parenthesized if it is not already an expression (of
> course there are cases where things get hairy, but in general I find it
> useful).

CL-USER> (defvar a 4)

A
CL-USER> (defvar b 9)

B
CL-USER> a b

4
CL-USER>
9
CL-USER> (defun a (x) (sqrt x))

A
CL-USER> (a b)

3.0

So what happens in lispworks if I do this:

CL-USER> a b

Do I get a separate 4 and 9 again or do I get 3.0?

Michael



More information about the slime-devel mailing list