Constructors
makefunction
Creates a new
RefTriefrom a Trie,Effect, orFx.
Derived queries
compactvariable
Compact Option values.
entriesvariable
Get all entries from the Trie.
entriesWithPrefixvariable
Get all entries with a given prefix.
keysvariable
Get all keys from the Trie.
keysWithPrefixvariable
Get all keys with a given prefix.
longestPrefixOfvariable
Get the longest prefix of a key that exists in the Trie.
mapValuesvariable
Map values to a different type.
reducevariable
Reduce the entries to a single value.
sizevariable
Get the current size of the Trie.
valuesvariable
Get all values from the Trie.
valuesWithPrefixvariable
Get all values with a given prefix.
Optional queries
getvariable
Get the value at a key as a Filtered.
State models
RefTrieinterface
A RefTrie is a RefSubject specialized over a Trie.
State predicates
hasvariable
Check if a key exists in the Trie.
isEmptyvariable
Check if the Trie is empty.
isNonEmptyvariable
Check if the Trie is non-empty.
State updates
clearvariable
Clear all entries from the Trie.
filtervariable
Filter entries into a read-only derived trie.
filterMapvariable
Filter and map entries into a read-only derived trie.
insertvariable
Insert a key-value pair into the Trie.
insertManyvariable
Insert multiple key-value pairs into the Trie.
mapvariable
Map values into a read-only derived trie.
modifyvariable
Modify the value at a key if it exists.
removevariable
Remove a key from the Trie.
removeManyvariable
Remove multiple keys from the Trie.