https://github.com/elm-community/array-extra
convenience functions for working with Array
https://github.com/elm-community/array-extra
array elm elm-core extra
Last synced: about 1 year ago
JSON representation
convenience functions for working with Array
- Host: GitHub
- URL: https://github.com/elm-community/array-extra
- Owner: elm-community
- License: mit
- Created: 2015-02-13T12:12:10.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-06-16T22:05:30.000Z (about 2 years ago)
- Last Synced: 2025-05-07T06:56:10.653Z (about 1 year ago)
- Topics: array, elm, elm-core, extra
- Language: Elm
- Homepage: http://package.elm-lang.org/packages/elm-community/array-extra/latest
- Size: 611 KB
- Stars: 9
- Watchers: 6
- Forks: 10
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# convenience functions for working with `Array`
Some people like to import under the same namespace as `Array`:
```elm
import Array exposing (Array)
import Array.Extra as Array
firstFive : Array a -> Array a
firstFive =
Array.sliceUntil 5
```
Note that this API is experimental and likely to go through many more iterations.
Feedback and contributions are very welcome.