Skip to contents

Pipe a loud value to a decorated function

Usage

.l %>=% .f

Arguments

.l

A value returned by loudly

.f

A loud function to apply to the returning value of .l

Value

A loud value.

Examples

loud_sqrt <- loudly(sqrt)
loud_exp <- loudly(exp)
3 |> loud_sqrt() %>=% loud_exp()
#> Error in loud_exp(.l$result, .log = .l$log): could not find function "loud_exp"