export interface Both { readonly _tag: 'Both'; readonly left: E; readonly right: A; } export interface Left { readonly _tag: 'Left'; readonly left: E; } export interface Right { readonly _tag: 'Right'; readonly right: A; } export declare type These = Left | Right | Both; export declare function Left(e: E): These; export declare function Right(a: A): These; export declare function Both(e: E, a: A): These; export declare function match_(fa: These, onLeft: (e: E) => B, onRight: (a: A) => C, onBoth: (e: E, a: A) => D): B | C | D; export declare function match(onLeft: (e: E) => B, onRight: (a: A) => C, onBoth: (e: E, a: A) => D): (fa: These) => B | C | D; //# sourceMappingURL=These.d.ts.map