[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Backquote simplification
From: |
Hans Aberg |
Subject: |
Re: Backquote simplification |
Date: |
Thu, 9 Dec 2010 20:44:12 +0100 |
[Your reply does not seem to be on the list, so I cc it.]
Thanks. I might try an iterated cons, that is a function f such such
that
(f x1 ... xk y) --> (cons x1 ... (cons xk y) ...))
Then
(lambda (x1 ... xk . y) (f x1 ... xk y))
should just return at least k arguments as a list.
I'm not sure right now how to write it, so thankful for help.
On 9 Dec 2010, at 18:44, address@hidden wrote:
Hi,
You need not use quoting at all in these cases.
( 1 2 . ( 3 4 ) ) is exactly equivalent to ( 1 2 3 4 ) and ( 1 .
( 2 . ( 3 . ( 4 ) ) ) )
(b ( cons x y ))
or
(apply b x y)
I cannot quite tell fom your example.
Cheers,
Dan
- Backquote simplification, Hans Aberg, 2010/12/09
- Message not available
- Re: Backquote simplification,
Hans Aberg <=
- Re: Backquote simplification, Neil Jerram, 2010/12/10
- Re: Backquote simplification, Hans Aberg, 2010/12/10
- Re: Backquote simplification, Neil Jerram, 2010/12/10
- Re: Backquote simplification, Hans Aberg, 2010/12/11
- Re: Backquote simplification, Neil Jerram, 2010/12/11
- Re: Backquote simplification, Hans Aberg, 2010/12/11