Documentation ¶
Overview ¶
package mapi provides helper incrementals for working with maps.
Specifically these incrementals will typically deal in _diffs_ by keys of maps between stabilizations, letting the computation focus on what has changed within maps between those stabilizations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Added ¶
func Added[M ~map[K]V, K comparable, V any](scope incr.Scope, i incr.Incr[M]) incr.Incr[M]
Added returns an incremental node whose value is just the added keys (and their associated values) of an input map between stabilizations.
func Removed ¶
func Removed[M ~map[K]V, K comparable, V any](scope incr.Scope, i incr.Incr[M]) incr.Incr[M]
Removed returns an incremental node whose value is just the removed keys (and their associated values) of an input map between stabilizations.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.