package indexmap

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val get : ('i * 'j, 'e, 'u, read * 'w) t -> 'i -> 'j -> 'e
val set : ('i * 'j, 'e, 'u, 'r * write) t -> 'i -> 'j -> 'e -> 'u
val fix_first : ('i * 'j, 'e, 'u, 'p) t -> 'i -> ('j, 'e, 'u, 'p) t
val fix_second : ('i * 'j, 'e, 'u, 'p) t -> 'j -> ('i, 'e, 'u, 'p) t

fix_* imap i returns a new t with the specified index element fixed to the value i.

val transpose : ('i * 'j, 'e, 'u, 'p) t -> ('j * 'i, 'e, 'u, 'p) t

transpose imap returns a new t with the index elements flipped.

OCaml

Innovation. Community. Security.