import type * as P from "@principia/prelude"; import type { URI, V } from "./model"; /** * ```haskell * traverseWithIndex_ :: (Applicative g, TraversableWithIndex t, Index k) => * g * -> (t k a, ((k, a) -> g b)) * -> g (t k b) * ``` * * @category TraversableWithIndex * @since 1.0.0 */ export declare const traverseWithIndex_: P.TraverseWithIndexFn_<[URI], V>; /** * ```haskell * traverseWithIndex :: (Applicative g, TraversableWithIndex t, Index k) => * g * -> ((k, a) -> g b) * -> t k a * -> g (t k b) * ``` * * @category TraversableWithIndex * @since 1.0.0 */ export declare const traverseWithIndex: P.TraverseWithIndexFn<[URI], V>; /** * ```haskell * traverse_ :: (Applicative g, Traversable t) => * g * -> (t a, (a -> g b)) * -> g (t b) * ``` * * Map each element of a structure to an action, evaluate these actions from left to right, and collect the results * * @category Traversable * @since 1.0.0 */ export declare const traverse_: P.TraverseFn_<[URI], V>; /** * ```haskell * traverse :: (Applicative g, Traversable t) => * g * -> (a -> g b) * -> g a * -> g (t b) * ``` * * Map each element of a structure to an action, evaluate these actions from left to right, and collect the results * * @category Traversable * @since 1.0.0 */ export declare const traverse: P.TraverseFn<[URI], V>; /** * ```haskell * sequence :: (Applicative f, Traversable t) => t (f a) -> f (t a) * ``` * * Evaluate each action in the structure from left to right, and collect the results. * * @category Traversable * @since 1.0.0 */ export declare const sequence: P.SequenceFn<[URI], V>; export declare const Traversable: P.Traversable<[URI], V>; export declare const TraversableWithIndex: P.TraversableWithIndex<[URI], V>; //# sourceMappingURL=traversable.d.ts.map