package dolmen
Module Dolmen_std.TagSource
Tags
Type definitions
The type of immutable maps from tags to values.
A tag containing values of type 'a.
The type for information carried by each tag.
Creating tags
Create a new tag.
Creating maps
Iterators
fold f m acc folds over the bindings of m with f, starting with acc
Getters
Get all the values associated with a tag list, returning the empty list by default if the tag is not present.
Return the last value associated to a list tag (i.e. the head of the list returned by get_list if it exists).
Setters
Add a value to a list tag in a map. The new value is enqueued at the head of the list of values bound.
Optionally add a value to a list tag in a map. The new value is enqueued at the head of the list of values bound.
Add a list of values to a list tag in a map. The new values are enqueued at the head of the list of values bound, however it is not guaranteed that the first value of the given list is the new head of the list of bound values.