MapUseSetNode<'A, 'B> Type
Maps every element, disposing the mapped value when its last source
occurrence leaves (FDA ASet.mapUse parity). The mapped values are
stable (the mapping runs once per source element); the output is a set, so
two source elements mapping to one value are refcounted and the value is
disposed only when the last occurrence leaves. Disposing the node disposes
all live mapped values and clears the output.
Constructors
| Constructor |
Description
|
Full Usage:
MapUseSetNode(source, mapping)
Parameters:
IAdaptiveSet<'A>
mapping : 'A -> 'B
Returns: MapUseSetNode<'A, 'B>
|
|
Mibo