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

Function reverse

packages/typeclass/src/Monoid.ts:54–54  ·  view source on GitHub ↗
(M: Monoid<A>)

Source from the content-addressed store, hash-verified

52 * @since 0.24.0
53 */
54export const reverse = <A>(M: Monoid<A>): Monoid<A> => fromSemigroup(semigroup.reverse(M), M.empty)
55
56/**
57 * Similar to `Promise.all` but operates on `Monoid`s.

Callers

nothing calls this directly

Calls 1

fromSemigroupFunction · 0.85

Tested by

no test coverage detected