import type * as P from "@principia/prelude"; import type { Option, URI, V } from "./model"; /** * ```haskell * both_ :: Apply f => (f a, f b) -> f (a, b) * ``` * * Applies both `Maybe`s and if both are `Some`, collects their values into a tuple, otherwise, returns `Nothing` * * @category Apply * @since 1.0.0 */ export declare const both_: (fa: Option, fb: Option) => Option; /** * ```haskell * both :: Apply f => f b -> f a -> f (a, b) * ``` * * Applies both `Maybe`s and if both are `Some`, collects their values into a tuple, otherwise returns `Nothing` * * @category Apply * @since 1.0.0 */ export declare const both: (fb: Option) => (fa: Option) => Option; /** * ```haskell * pure :: Applicative f => a -> f a * ``` * * Lifts a pure expression info a `Maybe` * * @category Applicative * @since 1.0.0 */ export declare const pure: (a: A) => Option; export declare const Applicative: P.Applicative<[URI], V>; //# sourceMappingURL=applicative.d.ts.map