Learn R Programming

rmonad (version 0.7.0)

const: Ignore the first input, return the second

Description

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

Usage

const(x, r)

Arguments

x

ignored value

r

replacing value

See Also

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