package spin

  1. Overview
  2. Docs
OCaml project generator

Install

Dune Dependency

Authors

Maintainers

Sources

spin-0.8.0.tbz
sha256=2d612f7a55a2cd71177e96c6a5a5d3a7c258b19b4eef9cf994a24b1ec77c3764
sha512=1b46b047c6f3d3ed38ba38912680e2af802517f30d27ae42ceca4fa1b3954d28ba6922535a322230a57e466f009df499823b39a325f476a9bf938fa2e0cd8f4a

doc/src/spin.std/hashtbl.ml.html

Source file hashtbl.ml

1
2
3
4
5
6
7
8
include Stdlib.Hashtbl

let to_list t = to_seq t |> List.of_seq

let of_list l = of_seq (List.to_seq l)

let merge ~into:tab1 tab2 =
  fold (fun key elt () -> replace tab1 key elt) tab2 ()
OCaml

Innovation. Community. Security.