UNPKG

pragmatic-fp-ts

Version:

Opinionated functional programming library with easy use in mind

5 lines (4 loc) 320 B
import { Mappable } from "./main"; export declare function eitherOr<A, B>(f: Mappable<A, B>, g: Mappable<A, B>, value: A): B; export declare function eitherOr<A, B>(f: Mappable<A, B>, g: Mappable<A, B>): (value: A) => B; export declare function eitherOr<A, B>(f: Mappable<A, B>): (g: Mappable<A, B>) => (value: A) => B;