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/rmonad documentation built on Dec. 19, 2020, 9:06 p.m.