// ets_tracing: off import type * as C from "../core.js" /** * Threads the stream through the transformation function `f`. */ export function via_( self: C.Stream, f: (a: C.Stream) => C.Stream ): C.Stream { return f(self) } /** * Threads the stream through the transformation function `f`. * * @ets_data_first via_ */ export function via( f: (a: C.Stream) => C.Stream ) { return (self: C.Stream) => via_(self, f) }