Man pages for Immutables
Fast and Functional Data Structures

add_monoidsAdd or Merge Measure Monoids
as_flexseqCoerce Objects to 'flexseq'
as_interval_indexBuild an Interval Index from 'x', 'start', and 'end'
as_iterator.flexseqIterate over a 'flexseq' (coro iterator)
as_iterator.priority_queueIterate over a 'priority_queue' (coro iterator)
as.list.flexseqCoerce a Sequence to Base List
as.list.interval_indexCoerce Interval Index to List
as.list.ordered_sequenceCoerce Ordered Sequence to List
as.list.priority_queueCoerce Priority Queue to List
as_ordered_sequenceBuild an Ordered Sequence from 'x' and 'keys'
as_priority_queueBuild a Priority Queue from 'x' and 'priorities'
c.flexseqConcatenate Sequences
concat_treesConcatenate Two Structural Trees
count_betweenCount Elements in a Key Range
count_keyCount Elements Matching One Key
elements_betweenReturn Elements in a Key Range
empty_treeCreate an Empty Structural Tree
fapplyFapply with S3 dispatch
flexseqConstruct a Persistent Flexible Sequence
get_graph_dfBuild graph data frames for a finger tree
get_measureRead a Cached Subtree Measure
get_measuresRead Per-Element Monoid Measures
Immutables-packageImmutables: Fast and Functional Data Structures
insertInsert an Element
insert_atInsert Elements at a Position
interval_indexConstruct an Interval Index
length.flexseqSequence Length
length.interval_indexInterval Index Length
length.ordered_sequenceOrdered Sequence Length
length.priority_queuePriority Queue Length
locate_by_predicateLocate First Predicate Match
loopIterate over an iterator (re-exported from coro)
lower_boundFind First Element with Key '>=' Query
max_endpointMaximum Right Endpoint
max_keyMaximum Key Value
max_priorityMaximum Priority Value
measure_monoidConstruct a Measure Monoid Specification
merge.flexseqMerge Two Sequences
merge.interval_indexMerge Two Interval Indices
merge.ordered_sequenceMerge Two Ordered Sequences
merge.priority_queueMerge Two Priority Queues
min_endpointMinimum Left Endpoint
min_keyMinimum Key Value
min_priorityMinimum Priority Value
ordered_sequenceConstruct an Ordered Sequence
peek_all_containingPeek All Intervals Containing a Query Interval
peek_all_keyPeek All Elements for One Key
peek_all_maxPeek All Maximum-Priority Elements
peek_all_minPeek All Minimum-Priority Elements
peek_all_overlapsPeek All Intervals Overlapping a Query Interval
peek_all_pointPeek All Intervals Matching a Point
peek_all_withinPeek All Intervals Within a Query Interval
peek_atPeek at an Element by Position
peek_backPeek at the Back Element
peek_containingPeek First Interval Containing a Query Interval
peek_frontPeek at the Front Element
peek_keyPeek First Element for One Key
peek_maxPeek Maximum-Priority Element
peek_minPeek Minimum-Priority Element
peek_overlapsPeek First Interval Overlapping a Query Interval
peek_pointPeek First Interval Matching a Point
peek_withinPeek First Interval Within a Query Interval
plot_structurePlot the Internal Finger-Tree Structure
pop_all_containingPop All Containing Intervals
pop_all_keyPop All Elements for One Key
pop_all_maxPop All Maximum-Priority Elements
pop_all_minPop All Minimum-Priority Elements
pop_all_overlapsPop All Overlapping Intervals
pop_all_pointPop All Intervals Matching a Point
pop_all_withinPop All Intervals Within a Query Interval
pop_atPop an Element by Position
pop_backPop the Back Element
pop_containingPop First Containing Interval
pop_frontPop the Front Element
pop_keyPop First Element for One Key
pop_maxPop Maximum-Priority Element
pop_minPop Minimum-Priority Element
pop_overlapsPop First Overlapping Interval
pop_pointPop First Interval Matching a Point
pop_withinPop First Interval Within a Query Interval
print.FingerTreePrint a compact summary of a finger tree
print.flexseqPrint a flexseq
print.interval_indexPrint an Interval Index Summary
print.ordered_sequencePrint an Ordered Sequence Summary
print.priority_queuePrint a Priority Queue Summary
priority_queueConstruct a Priority Queue
push_backPush an Element to the Back
push_frontPush an Element to the Front
split_around_by_predicateSplit Around First Predicate Match
split_atSplit at a Position or Name
split_by_predicateSplit into Left and Right Parts
str.flexseqDisplay Internal Structure of a flexseq
sub-.flexseqFlexseq Indexing
sub-.interval_indexIndexing for Interval Indexes
sub-.ordered_sequenceIndexing for Ordered Sequences
sub-.priority_queueIndexing for Priority Queues
tree_fromBuild a Structural Tree from a Vector or List
unlist.flexseqCoerce a Sequence to an Atomic Vector
upper_boundFind First Element with Key '>' Query
validate_name_stateValidate name-state invariants only (debug/test utility)
validate_treeValidate full tree invariants (debug/test utility)
Immutables documentation built on April 29, 2026, 1:06 a.m.