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