guile-user
[Top][All Lists]
Advanced

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

Re: Multiple values passed as single argument to procedure


From: David Kastrup
Subject: Re: Multiple values passed as single argument to procedure
Date: Mon, 12 Jun 2017 11:39:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Chris Marusich <address@hidden> writes:

> I think I'm missing something here.  In (list (f)), the call to f
> certainly looks like it's happening at a position that one might
> intuitively call a "tail" position.

It is, but list does not take multiple values and thus discards
additional values returned by f.  If list were a procedure/continuation
accepting multiple values, this would likely work as you expected.

-- 
David Kastrup




reply via email to

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