const: creates a constant function

Description Usage Arguments Details Value

Description

creates a constant function

Usage

1
const(v = stop("v not supplied"))

Arguments

v

the return value of the constant function

Details

This is sugar for function() { return(v) }

Value

function() { return (v) }


argent0/functional documentation built on May 10, 2019, 1:26 p.m.