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