Re: Good functional programming habbit?



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__
.



Relevant Pages

  • Re: derivatives and determinant
    ... f is a multiple of p. ... swaps both rows i,j and also columns i,j (also ... limit, so with that correction, the proof strategy is still intact. ... logic of step is wrong, and hence the symmetry of f is unproved, ...
    (sci.math)
  • Re: Bring Math Arguments against this FERMAT LAST THEOREM PROOF
    ... Ok, but the objection is very simple, so it needs to be addressed. ... multiple of 3, so if you want all the variables X,Y,Z to be not ... The reason we need 2 subcases, even though they appear to be nearly ... assume X<=Y, then that symmetry would also be broken, and then you ...
    (sci.math)