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

Function getSemigroup

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

Source from the content-addressed store, hash-verified

784
785/** @internal */
786export const getSemigroup = <A>(): semigroup.Semigroup<Doc.Doc<A>> => ({
787 combine: cat,
788 combineMany: (self, others) => cat(self, cats(others))
789})
790
791/** @internal */
792export const getMonoid = <A>(): monoid.Monoid<Doc.Doc<A>> => ({

Callers

nothing calls this directly

Calls 1

catsFunction · 0.85

Tested by

no test coverage detected