package scaml

  1. Overview
  2. Docs
type ('k, 'v) t = ('k, 'v) big_map =
  1. | BigMap of ('k * 'v) list
val empty : ('k, 'v) t
val get : 'k -> ('k, 'v) t -> 'v option
val mem : 'k -> ('k, 'v) t -> bool
val update : 'k -> 'v option -> ('k, 'v) t -> ('k, 'v) t

update k vopt map adds k=v when vopt = Some v and removes k when vopt = None.

Adding a binding already exists in the set overrides the existing binding.

Removing a binding non existent in the map does not change the big map.