functional_vec 0.1.0

Owning versions of mutable Vec methods.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Functional Vec

Owning versions of all mutable vec methods. Makes vecs slightly more
ergonomic to use in folds.

Supports `no_std` environments using the `alloc` crate directly.

## Example

```rust
use functional_vec::FunctionalVec;

let v = (0..10).fold(Vec::new(), |acc, curr| acc.push_new(curr));
assert_eq!(v, vec![0, 1, 2, 3, 4, 5, 6, 7, 8, 9]);
```