I’m trying to understand Ramda’s transducers. Here’s a slightly modified example from the docs: But what if I want to sum the elements of the resulting array? The following (just adding R.sum into R.compose) doesn’t work: Answer I’d do something like this, just accumulate on top of an initial 0 value