Dolmen_std.TagTags
The type for information carried by each tag.
val create : ?print:'a Pretty.print -> unit -> 'a tCreate a new tag.
val empty : mapThe empty map.
val is_empty : map -> boolIs the map empty ?
fold f m acc folds over the bindings of m with f, starting with acc
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).
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.