-
TODOs (in order)
- [x] Add `Index` and `IndexMut` traits #8339
- [x] Add instances for `Array`, `Vector`, and `MutMap` #8339
- [x] Add `Map` instance #8458
- [x] Add `DelayMap` instance #8459
- […
-
https://supercodepower.com/docs/toy-data-structures/10-RedBlackTree
红黑树
-
It is not very easy right now to iterate a collection in reverse. perhaps `toReverseIterator`?
modules with `iterator`
- MutQueue
- Array
- Chain
- DelayList
- DelayMap
- List
- Map (also ha…
-
I came around
https://wpt.fyi/results/svg/styling/use-element-animations.html
The test includes the following code
```css
@keyframes font-anim {
0% { /* starts from computed font-size */ }
…
-
**Note:** I want to cleanly rewrite it based on the existing Haskell code. We should not try to optimize the if-branches, it is too error prone.
---
We can achieve this by
- make RedBlackTree a…
-
From here: https://github.com/flix/flix/pull/3974
"Fixed" this, however it's revealed what I think is a bug in typeclass resolution. I've had to implement them as non public functions with differ…
-
- Stack DONE
- Queue DONE
- Vector 99% DONE
- List Undone
- Map 97% DONE
- Multimap 97% DONE
- Deque 70% DONE
- Set DONE
- Multiset DONE
- RedBlackTree 90% DONE
- Iterators DONE
- Allocator…
-
```python
bst = RedBlackTree()
bst.insert(55)
bst.insert(40)
bst.insert(58)
bst.insert(42)
assert bst.successor(bst.search(58)).key is None
```
> while not …
-
This line if code checks only the right child colour. It should check the left child as well.
https://github.com/Bibeknam/algorithmtutorprograms/blob/705130fc0c5fb5c6bdc53967aea7de644e9bb2c5/data-…
-
I'm not sure whether this is the right repository or not, feel free to move the issue.
Enums don't work when they are used under the condition, that they are
- used in an instance and
- are imp…