PerformanceIMMO / elm-utils / Perfimmo.Collection.NonEmptyList

NonEmptyList


type alias NEL a =
List.Nonempty.Nonempty a

NEL

nel : a -> List a -> List.Nonempty.Nonempty a

nel

repeat : Basics.Int -> a -> NEL a

repeat

updateAt : Basics.Int -> (a -> a) -> List.Nonempty.Nonempty a -> List.Nonempty.Nonempty a

updateAt

decodeNEL : Json.Decode.Decoder a -> Json.Decode.Decoder (List.Nonempty.Nonempty a)

decodeNEL

appendList : NEL a -> List a -> NEL a

appendList

prependList : List a -> NEL a -> NEL a

prependList