[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Dotted pair call argument
From: |
David Kastrup |
Subject: |
Dotted pair call argument |
Date: |
Tue, 21 Feb 2012 15:03:42 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
Hi, I am not sure whether this is a Scheme feature, but it seems
inconvenient that
((lambda (a . b) b) 1 . 2)
bombs out. The same with
(apply (lambda (a . b) b) 1 2)
I guess my "real" problem is that I'd like to do call wrapping by writing
(lambda ( . x) (fun . x))
instead of having to write
(lambda ( . x) (apply fun x))
I assume eval is not supposed to try dealing with dotted lists?
--
David Kastrup
- Dotted pair call argument,
David Kastrup <=
- Re: Dotted pair call argument, Mark H Weaver, 2012/02/21
- Re: Dotted pair call argument, David Kastrup, 2012/02/21
- Re: Dotted pair call argument, David Kastrup, 2012/02/21
- Re: Dotted pair call argument, Mark H Weaver, 2012/02/21
- Re: Dotted pair call argument, David Kastrup, 2012/02/21
- Re: Dotted pair call argument, Mark H Weaver, 2012/02/21
- Re: Dotted pair call argument, David Kastrup, 2012/02/22
- Re: Dotted pair call argument, Neil Jerram, 2012/02/21