This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
1.0.0 1.0.1
We were not able to find the expected elm-package.json file at this tag.
Tag 1.1.0
Committed At 2019-07-18 01:13:28 UTC

Modules

    README

    This package contains some basic utilities for working with Float values in Elm. The current (very limited) API can be summed up by a few examples:

    import Float.Extra as Float
    
    Float.equalWithin 1e-6 1.9999 2.0001
    --> False
    
    Float.equalWithin 1e-3 1.9999 2.0001
    --> True
    
    Float.interpolateFrom 5 10 0.6
    --> 8
    
    Float.interpolateFrom 10 5 0.1
    --> 9.5
    
    Float.range { start = 0, end = 1, steps = 5 }
    --> [ 0, 0.2, 0.4, 0.6, 0.8, 1 ]
    
    Float.range { start = 20, end = 30, steps = 4 }
    --> [ 20, 22.5, 25, 27.5, 30 ]
    

    Currently the only functions that have been implemented are ones that were needed by the elm-interval and elm-geometry packages, but I'm happy to consider pull requests for other generally-useful functionality. Please open a new issue before starting work, though, so we can discuss different approaches!