An open API service indexing awesome lists of open source software.

https://github.com/llogiq/arraymap

Adds a trait to map functions over arrays
https://github.com/llogiq/arraymap

Last synced: about 1 month ago
JSON representation

Adds a trait to map functions over arrays

Awesome Lists containing this project

README

        

# arraymap

Adds a trait to map functions over arrays.

Usage:

```
use arraymap::ArrayMap;

let x = [1, 2, 3].map(|v| v + 1);
assert_eq!([2, 3, 4], x);
```

License:

Everything in this repository is subject to the MIT License