MCPcopy Index your code
hub / github.com/Effect-TS/effect / getMonoid

Function getMonoid

packages/printer/src/internal/doc.ts:792–797  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

790
791/** @internal */
792export const getMonoid = <A>(): monoid.Monoid<Doc.Doc<A>> => ({
793 empty,
794 combine: cat,
795 combineMany: (self, others) => cat(self, cats(others)),
796 combineAll: cats
797})
798
799/** @internal */
800export const Covariant: covariant.Covariant<Doc.Doc.TypeLambda> = {

Callers

nothing calls this directly

Calls 1

catsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…