car 0.1.1

std::array::{map, from_fn, try_from_fn} in const
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# `car`

macro based array manipulation constant techniques

## you wanted a quick LUT in const? here you go!

```rust
// please note that this is in no way performant or a good idea.
let squares: [usize; 0xffffffff] = car::from_fn!(|i| i * 2);
```

## completely stable!

for once!