thunk: Simple thunk: wraps an input in a no-argument function

View source: R/compiler-backends.R

thunkR Documentation

Simple thunk: wraps an input in a no-argument function

Description

Simple thunk: wraps an input in a no-argument function

Usage

thunk(input)

Arguments

input

Any R object or expression

Value

A thunk that returns the object when called with class c("thunk", "function")


einops documentation built on Sept. 9, 2025, 5:29 p.m.