Skip to contents

Wraps new in a list() and concatenates it to old. Useful for accumulating messages.

Usage

reducer_append()

Value

A two-argument function function(old, new).

Examples

r <- reducer_append()
r(list("a"), "b")
#> [[1]]
#> [1] "a"
#> 
#> [[2]]
#> [1] "b"
#>