guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List functions


From: Hans Aberg
Subject: Re: List functions
Date: Wed, 1 Dec 2010 23:19:59 +0100

On 1 Dec 2010, at 22:34, Keith Wright wrote:

On the other hand |list| is an ordinary variable
so, (list sin cos) is evaluated by evaluating
the three subexpressions, giving a function
that makes lists and two numeric functions of
a numeric vaiable, and then applying the first
function, i.e. list, to the two arguments, ie.
sin and cos, giving a list of functions.

The parse problem I have is that x y is function application x(y), and must be constructed as Guile (x y). But then what should (x, y) be constructed as? Here, x should never be applied to y. On the other hand, '(x y) will suspend evaluation of x an y, which should not happen.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]