const: Ignore the first input, return the second

Description Usage Arguments See Also

View source: R/helpers.R

Description

This function can be used to change the value in the lhs of a monadic sequence

Usage

1
const(x, r)

Arguments

x

ignored value

r

replacing value

See Also

Other helper_functions: false_as_error(), false(), null_as_error(), toss(), true()


arendsee/monadR documentation built on Dec. 16, 2020, 4:26 a.m.