Pipe a chronicle object to a decorated function.
grapes-greater-than-equals-grapes.Rd
Pipe a chronicle object to a decorated function.
Arguments
- .c
A value returned by record.
- .f
A chronicle function to apply to the returning value of .c.
Examples
r_sqrt <- record(sqrt)
r_exp <- record(exp)
3 |> r_sqrt() %>=% r_exp()
#> OK! Value computed successfully:
#> ---------------
#> Just
#> [1] 5.652234
#>
#> ---------------
#> This is an object of type `chronicle`.
#> Retrieve the value of this object with pick(.c, "value").
#> To read the log of this object, call read_log(.c).
#>