Re: Good functional programming habbit?
- From: pjb@xxxxxxxxxxxxxxxxx (Pascal J. Bourguignon)
- Date: Sat, 01 May 2010 22:27:59 +0200
Tim Bradshaw <tfb@xxxxxxxx> writes:
On 2010-04-30 16:45:47 +0100, Tim Bradshaw said:
There is quite an interesting symmetry between multiple values and
function arguments.
And of course, that's because, if you think of CPS-transforming
things, they are in fact exactly the same thing: values are the
arguments you pass to your continuation. This must be well-known,
though I've only just realised it.
In Scheme, multiple-values can only be handled by a function.
http://www.schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-9.html#%_idx_574
--
__Pascal Bourguignon__
.
- Prev by Date: Re: Comparing Lisp to Python, what you consider more important: speed or macros.
- Next by Date: Re: Good functional programming habbit?
- Previous by thread: Re: Good functional programming habbit?
- Next by thread: Re: Lispers in the silicon valley?
- Index(es):
Relevant Pages
|