// ets_tracing: off
import * as C from "../core";
import * as Unwrap from "./unwrap";
import * as ZipRight from "./zipRight";
export function fromInput(input) {
  return Unwrap.unwrap(input.takeWith(_ => C.failCause(_), _ => ZipRight.zipRight_(C.write(_), fromInput(input)), _ => C.end(_)));
}
//# sourceMappingURL=fromInput.js.map