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 1.0.4
Committed At 2018-08-23 05:30:43 UTC

Modules

    README

    A first-in, first-out queue (FIFO) backed by lists.

    elm install avh4/elm-fifo
    

    Basic API

    empty : Fifo a
    
    insert : a -> Fifo a -> Fifo a
    
    remove : Fifo a -> (Maybe a, Fifo a)
    

    Example

    import Fifo
    
    main =
        Fifo.empty
        |> Fifo.insert 7
        |> Fifo.insert 42
        |> Fifo.remove |> Tuple.first
        |> Fifo.remove |> Tuple.second
        |> Debug.toString
        |> Html.text
            -- Shows "Just 42"