[R] Continuation-parsing / trampoline / infinite recursion problem

Thomas Mailund
Wed, 10 Aug 2016 16:53:29 -0000

> On 10 Aug 2016, at 13:56, Thomas Mailund <mailund at birc.au.dk>
wrote:
>
> make_thunk <- function(f, ...) f(...)

Doh!  It is of course this one:

make_thunk <- function(f, ...) function() f(?)

It just binds a function call into a thunk so I can delay its evaluation.

Sorry
	Thomas