Re: Or Alternatively ... ?
Paul Schlie 08 Apr 2006 17:19 UTC
> From: Marcin 'Qrczak' Kowalczyk <xxxxxx@knm.org.pl>
>> Paul Schlie <xxxxxx@comcast.net> writes:
>>
>> (define some-values '(1 2 3))
>>
>> (+ . some-values) :: (+ 1 2 3) => 6
>>
>> (+ . some-values . '(10 20)) :: (+ 1 2 3 10 20) => 36
>
> This syntax is not compatible with S-expressions.
> (it's not an external representation of data),
> so Scheme will not adopt it.
- Understood, however some simpler syntactic alternative
to it's otherwise semantic equivalent would be nice, as:
(eval `(+ ,@ some-values ,@ '(10 20))) => 36
feels a bit cumbersome?
(although correspondingly an alternative to the use of values ...)