import {
  flow,
  identity
} from "./chunk-ZI34HWXZ.mjs";
import {
  __export
} from "./chunk-QK4PKNB3.mjs";

// src/Endomorphism.ts
var Endomorphism_exports = {};
__export(Endomorphism_exports, {
  URI: () => URI,
  getMonoid: () => getMonoid,
  getSemigroup: () => getSemigroup
});
var URI = "Endomorphism";
var getSemigroup = () => ({
  concat: (first, second) => flow(first, second)
});
var getMonoid = () => ({
  concat: getSemigroup().concat,
  empty: identity
});

export {
  URI,
  getSemigroup,
  getMonoid,
  Endomorphism_exports
};
