This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
README UnitList

UnitList.Decode

A simple decoder for UnitList provided for convenience.

Decoder

unitList : Decoder a -> Decoder (UnitList a)
module UnitList.Decode exposing (unitList)

{-| A simple decoder for UnitList provided for convenience.

# Decoder
@docs unitList

-}

import UnitList exposing (UnitList)
import Json.Decode as Json exposing (Decoder)


{-|
-}
unitList : Decoder a -> Decoder (UnitList a)
unitList =
    Json.map UnitList.singleton