elm-community / array-extra

convenience functions for working with Array

Home Page:http://package.elm-lang.org/packages/elm-community/array-extra/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

convenience functions for working with Array

Some people like to import under the same namespace as Array:

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.

About

convenience functions for working with Array

http://package.elm-lang.org/packages/elm-community/array-extra/latest

License:MIT License


Languages

Language:Elm 100.0%