Some examples of Clojure's "transducer" concept, omitting only the "init" behaviour. Stateful transducers operate by spawning a process at transformation-time.
sfwc/erlang-transducers
An Erlang interpretation of Clojure's "transducer" abstraction for iterative processes.
ErlangMIT