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