This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues or pull requests.
compilation/flap/src/utilities/dict.mli
2023-10-04 15:40:22 +02:00

15 lines
329 B
OCaml

type ('k, 'v) dict
type ('k, 'v) t = ('k, 'v) dict
val empty : ('k, 'v) dict
val lookup : 'k -> ('k, 'v) dict -> 'v option
val insert : 'k -> 'v -> ('k, 'v) dict -> ('k, 'v) dict
val to_list : ('k, 'v) dict -> ('k * 'v) list
val of_list : ('k * 'v) list -> ('k, 'v) dict
val equal : ('k, 'v) dict -> ('k, 'v) dict -> bool