diff --git a/src/Transformer.php b/src/Transformer.php index 8dc80c4..63cdc2a 100644 --- a/src/Transformer.php +++ b/src/Transformer.php @@ -381,6 +381,18 @@ public function concat() return $this->terminate(t\to_operation('.')); } + /** + * Processes transducing with a Termination + * + * @param Termination $termination + * + * @return mixed + */ + public function into(Termination $termination) + { + return $this->terminate($termination); + } + /** * @param callable $transducer * @param Termination $reducer