A first-in, first-out queue ([FIFO](https://en.wikipedia.org/wiki/FIFO_(computing_and_electronics))) backed by lists.
elm install avh4/elm-fifoempty : Fifo a
insert : a -> Fifo a -> Fifo a
remove : Fifo a -> (Maybe a, Fifo a)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"