import type * as P from "@principia/prelude"; import * as TC from "@principia/prelude"; import type { URI, V } from "./model"; /** * ```haskell * traverseWithIndex_ :: (Applicative g, TraversableWithIndex t, Index k) => * g * -> (t a, ((k, a) -> g b)) * -> g (t b) * ``` * * @category TraversableWithIndex * @since 1.0.0 */ export declare const traverseWithIndex_: TC.TraverseWithIndexFn_<[URI], V>; /** * ```haskell * traverseWithIndex :: (Applicative g, TraversableWithIndex t, Index k) => * g * -> ((k, a) -> g b) * -> t a * -> g (t b) * ``` * * @category TraversableWithIndex * @since 1.0.0 */ export declare const traverseWithIndex: TC.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_: TC.TraverseFn_<[URI], V>; /** * ```haskell * traverse :: (Applicative g, Traversable t) => * g * -> (a -> g b) * -> t 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: TC.TraverseFn<[URI], V>; /** * ```haskell * sequence :: (Applicative g, Traversable t) => g -> t a -> g (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: TC.SequenceFn<[URI], V>; export declare const Traversable: P.Traversable<[URI], V>; export declare const TraversableWithIndex: P.TraversableWithIndex<[URI], V>; //# sourceMappingURL=traversable.d.ts.map