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
- Host: GitHub
- URL: https://github.com/llogiq/arraymap
- Owner: llogiq
- License: mit
- Created: 2016-04-26T07:43:29.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-01-19T16:37:04.000Z (over 5 years ago)
- Last Synced: 2025-03-24T00:38:03.463Z (about 2 months ago)
- Language: Rust
- Size: 5.86 KB
- Stars: 6
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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