effect-ts-laws
Version:
effect-ts law testing using fast-check.
21 lines • 646 B
TypeScript
import { Foldable as FO } from '@effect/typeclass';
import type { TypeLambda } from 'effect/HKT';
import type { BuildParameterized } from './given.js';
/**
* Typeclass laws for `Foldable`.
* @category typeclass laws
*/
export declare const foldableLaws: BuildParameterized<FoldableTypeLambda>;
/**
* Type lambda for the `Foldable` typeclass.
* @category type lambda
*/
export interface FoldableTypeLambda extends TypeLambda {
readonly type: FO.Foldable<this['Target'] & TypeLambda>;
}
declare module './given.js' {
interface ParameterizedLambdas {
Foldable: FoldableTypeLambda;
}
}
//# sourceMappingURL=Foldable.d.ts.map