Std.SortedMap.empty
1 declaration
fn
empty: fn(K, K) -> Bool -> Std.SortedMap.SortedMap[K, V]This is a callable function.
What it does
An empty map ordered by the given comparison.
The comparison answers whether its first key comes strictly before its
second. Strictly, because two keys that each come before the other are two
keys the order cannot tell apart, and this treats keys it cannot tell apart
as the same key.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
- Names inside [ ] are type arguments, such as the item type held by a collection.
