bind_record {chronicler}R Documentation

Evaluate a decorated function; used to chain multiple decorated functions.

Description

Evaluate a decorated function; used to chain multiple decorated functions.

Usage

bind_record(.c, .f, ...)

Arguments

.c

A chronicle object.

.f

A chronicle function to apply to the returning value of .c.

...

Further parameters to pass to .f.

Value

A chronicle object.

Examples

r_sqrt <- record(sqrt)
r_exp <- record(exp)
3 |> r_sqrt() |> bind_record(r_exp)

[Package chronicler version 0.2.2 Index]