"use strict";Object.defineProperty(exports, "__esModule", {value: true});




var _chunkUFTX4GFTjs = require('./chunk-UFTX4GFT.js');


var _chunkSQA7G4TEjs = require('./chunk-SQA7G4TE.js');


var _chunk6C3VEZWHjs = require('./chunk-6C3VEZWH.js');

// src/FromState.ts
var FromState_exports = {};
_chunk6C3VEZWHjs.__export.call(void 0, FromState_exports, {
  chainStateK: () => chainStateK,
  fromStateK: () => fromStateK,
  get: () => get2,
  gets: () => gets2,
  modify: () => modify2,
  put: () => put2
});
function get2(F) {
  return () => F.fromState(_chunkUFTX4GFTjs.get.call(void 0, ));
}
function put2(F) {
  return (s) => F.fromState(_chunkUFTX4GFTjs.put.call(void 0, s));
}
function modify2(F) {
  return _chunkSQA7G4TEjs.flow.call(void 0, _chunkUFTX4GFTjs.modify, F.fromState);
}
function gets2(F) {
  return _chunkSQA7G4TEjs.flow.call(void 0, _chunkUFTX4GFTjs.gets, F.fromState);
}
function fromStateK(F) {
  return (f) => _chunkSQA7G4TEjs.flow.call(void 0, f, F.fromState);
}
function chainStateK(F, M) {
  const fromStateKF = fromStateK(F);
  return (f) => (ma) => M.chain(ma, fromStateKF(f));
}









exports.get = get2; exports.put = put2; exports.modify = modify2; exports.gets = gets2; exports.fromStateK = fromStateK; exports.chainStateK = chainStateK; exports.FromState_exports = FromState_exports;
