"use strict"
Object.defineProperty(exports, "__esModule", { value: true })
exports.foldManagedM = void 0
const foldWhileManagedM_1 = require("./foldWhileManagedM")
/**
 * Executes an effectful fold over the stream of values.
 * Returns a Managed value that represents the scope of the stream.
 */
function foldManagedM(s) {
  return (f) => (self) =>
    (0, foldWhileManagedM_1.foldWhileManagedM)(s)((_) => true)(f)(self)
}
exports.foldManagedM = foldManagedM
//# sourceMappingURL=foldManagedM.js.map
