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 Oct. 10, 2018, 6:26 p.m.