This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
We were not able to find the expected elm-package.json file at this tag.
Tag 2.1.2
Committed At 2020-10-21 14:36:56 UTC




    A type representing bounded numbers. Once a bound is set, the bounded value can never go out of this range.

    between 1 10
        |> set 7
        |> inc 5
        |> value
    -- (equals 10)

    This is used in elm-paginate.

    This is a very simple package with the express purpose of moving the logic of bounds-checking into a data structure to make your code more concise and clear. See more about "Adding behavior with types instead of logic in Elm" in this video demonstrating a novel use of this package: