UNPKG

effect-ts-laws

Version:
25 lines 436 B
import { Covariant as CO } from '@effect/typeclass'; import { flatMap, map, of, reduce, reduceRight } from 'effect/List'; /** * @category instances */ export const Monad = { of, flatMap, map, imap: CO.imap(map), }; /** * @category instances */ export const Foldable = { reduce, }; /** * @category instances */ export const RightFoldable = { ...Foldable, reduceRight, }; //# sourceMappingURL=List.js.map