import type { Fn } from "./fn.js"; /** * A key-value pair / tuple. */ export type Pair = [K, V]; /** * @param K - key type * @param V - value type * @param T - return type */ export interface IAssoc { assoc(key: K, val: V): T; update(key: K, f: Fn): T; } /** * @param K - key type * @param V - value type * @param T - return type */ export interface IAssocIn { assocIn(key: K[], val: V): T; updateIn(key: K[], f: Fn): T; } //# sourceMappingURL=assoc.d.ts.map