// ets_tracing: off import type * as C from "../core.js" import * as Map from "./map.js" /** * Maps the success values of this stream to the specified constant value. */ export function as_(self: C.Stream, a2: A2): C.Stream { return Map.map_(self, (_) => a2) } /** * Maps the success values of this stream to the specified constant value. * * @ets_data_first as_ */ export function as(a2: A2) { return (self: C.Stream) => as_(self, a2) }