[Top][All Lists]

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

Re: re-make-list

From: Emanuel Berg
Subject: Re: re-make-list
Date: Tue, 11 Feb 2020 00:28:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Stefan Monnier wrote:

>> Okay... but what should I do if its still
>> clear then?
> Usually converting to CPS is a good first
> step to solve these kinds of problems.

CPS seems to be some version of recursion but
where instead of removing an item from a list
or decreasing a digit one provides f1(a f2) and
it is the function that changes fn..f2(f1(a))
until it and thus the whole thing terminates.

So f2 is the "explicit continuation function"
[1] to f1, the one that gets called after f1
has done its operations on the value
original argument.



underground experts united

reply via email to

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