Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andresilva/rust-okasaki
/ functions
Functions
74 in github.com/andresilva/rust-okasaki
⨍
Functions
74
◇
Types & classes
9
↓ 25 callers
Method
insert
(&self, x: T)
src/set.rs:17
↓ 19 callers
Method
bind
(&self, k: K, v: V)
src/map.rs:17
↓ 15 callers
Function
aux
(current: Vec<Tree<(T, f64)>>, mut next: Vec<Tree<(T, f64)>>, offset: f64)
src/tree_layout.rs:19
↓ 12 callers
Method
cons
(&self, x: T)
src/stack.rs:53
↓ 12 callers
Method
insert
(&self, x: T)
src/heap.rs:62
↓ 10 callers
Function
rank
(t: &BinomialTree<T>)
src/heap.rs:146
↓ 9 callers
Method
bind
(&self, k: String, v: T)
src/trie.rs:33
↓ 9 callers
Method
tail
(&self)
src/stack.rs:67
↓ 3 callers
Method
merge
(&self, h: &LeftistHeap<T>)
src/heap.rs:36
↓ 3 callers
Function
root
(t: &BinomialTree<T>)
src/heap.rs:151
↓ 2 callers
Function
fit_list_left
(es: Vec<Extent>)
src/tree_layout.rs:167
↓ 2 callers
Method
head
(&self)
src/stack.rs:60
↓ 2 callers
Function
insert_tree
(h: &BinomialHeap<T>, t: &BinomialTree<T>)
src/heap.rs:156
↓ 2 callers
Method
is_empty
(&self)
src/stack.rs:46
↓ 2 callers
Function
link
(t1: &BinomialTree<T>, t2: &BinomialTree<T>)
src/heap.rs:131
↓ 2 callers
Function
merge_extent
(e1: Extent, e2: Extent)
src/tree_layout.rs:194
↓ 2 callers
Function
move_extent
(e: Extent, x: f64)
src/tree_layout.rs:212
↓ 2 callers
Function
remove_min_tree
(h: &BinomialHeap<T>)
src/heap.rs:172
↓ 1 callers
Function
find_leftmost
(t: &Tree<(T, f64)>, current: f64)
src/tree_layout.rs:63
↓ 1 callers
Function
fit
(e1: Extent, e2: Extent)
src/tree_layout.rs:186
↓ 1 callers
Function
fit_list
(es: Vec<Extent>)
src/tree_layout.rs:144
↓ 1 callers
Function
fit_list_right
(es: Vec<Extent>)
src/tree_layout.rs:154
↓ 1 callers
Function
flip_extent
(e: Extent)
src/tree_layout.rs:155
↓ 1 callers
Function
heap
()
src/main.rs:56
↓ 1 callers
Method
is_empty
(&self)
src/heap.rs:29
↓ 1 callers
Function
list
()
src/main.rs:13
↓ 1 callers
Function
longest_common_prefix
(s1: &str, s2: &str)
src/trie.rs:15
↓ 1 callers
Function
map
()
src/main.rs:46
↓ 1 callers
Function
mean
(x: f64, y: f64)
src/tree_layout.rs:145
↓ 1 callers
Function
merge_extents
(es: Vec<Extent>)
src/tree_layout.rs:206
↓ 1 callers
Function
move_by_offset
(t: &Tree<(T, f64)>, o: f64)
src/tree_layout.rs:54
↓ 1 callers
Function
move_tree
(t: &Tree<(T, f64)>, x1: f64)
src/tree_layout.rs:135
↓ 1 callers
Function
print_spaces
(n: usize)
src/tree_layout.rs:13
↓ 1 callers
Function
rmax
(p: f64, q: f64)
src/tree_layout.rs:182
↓ 1 callers
Function
tree
()
src/main.rs:37
↓ 1 callers
Function
trie
()
src/main.rs:64
Method
_loop
(f: &mut Formatter, l: &List<T>, first: bool)
src/stack.rs:79
Function
absolute
(t: &Tree<(T, f64)>)
src/tree_layout.rs:93
Function
absolute_new
(t: &Tree<(T, f64)>)
src/tree_layout.rs:76
Method
add_children
(t: &PatriciaTrie<T>, k: String, v: T)
src/trie.rs:34
Method
append
(&self, y: &Self)
src/stack.rs:12
Method
aux
(f: &mut Formatter, t: &Tree<T>, right: bool, indent: &str)
src/tree.rs:16
Method
aux
(f: &mut Formatter, t: &LeftistHeap<T>, right: bool, indent: &str)
src/heap.rs:84
Method
aux
(t: &PatriciaTrie<T>, mut indent: String, last: bool, f: &mut Formatter)
src/trie.rs:111
Function
binomialheap
()
src/heap.rs:256
Method
delete_min
(&self)
src/heap.rs:74
Function
design
(t: &Tree<T>)
src/tree_layout.rs:107
Method
empty
()
src/stack.rs:42
Method
empty
()
src/heap.rs:25
Method
empty
()
src/trie.rs:29
Method
empty
()
src/map.rs:13
Method
empty
()
src/set.rs:13
Method
find_min
(&self)
src/heap.rs:67
Method
fmt
(&self, f: &mut Formatter)
src/tree.rs:15
Method
fmt
(&self, f: &mut Formatter)
src/stack.rs:76
Method
fmt
(&self, f: &mut Formatter)
src/heap.rs:83
Method
fmt
(&self, f: &mut Formatter)
src/trie.rs:110
Function
leftistheap
()
src/heap.rs:244
Function
list
()
src/stack.rs:98
Method
lookup
(&self, k: String)
src/trie.rs:87
Method
lookup
(&self, x: K)
src/map.rs:30
Function
main
()
src/main.rs:94
Method
make_node
(x: T, l: Rc<LeftistHeap<T>>, r: Rc<LeftistHeap<T>>)
src/heap.rs:44
Method
member
(&self, x: T)
src/set.rs:26
Method
member2
Exercise 2.2: only performs at most d + 1 comparisons, where d is the depth of the tree
src/tree.rs:53
Method
member_aux
(t: &Tree<T>, x: T, c: &T)
src/tree.rs:57
Function
move_by_leftmost
(t: &Tree<(T, f64)>)
src/tree_layout.rs:53
Function
patricia_trie
()
src/trie.rs:148
Function
pretty_print
(t: &Tree<(T, f64)>)
src/tree_layout.rs:12
Method
rank
(h: &LeftistHeap<T>)
src/heap.rs:37
Function
suffixes
Exercise 2.1: O(n) time and space
src/main.rs:22
Function
treemap
()
src/map.rs:41
Function
treeset
()
src/set.rs:37
Method
update
(&self, i: usize, x: T)
src/stack.rs:20