R/state.R
reducer_append.Rd
Wraps new in a list() and concatenates it to old. Useful for accumulating messages.
new
list()
old
reducer_append()
A two-argument function function(old, new).
function(old, new)
r <- reducer_append() r(list("a"), "b") #> [[1]] #> [1] "a" #> #> [[2]] #> [1] "b" #>