This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Nested lists and associated Json decoders and encoders for Elm.
version 1.2.0
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.2.1
Committed At 2017-03-05 23:25:49 UTC
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1

Modules

README

lovasoa/elm-nested-list

Build Status

Nested lists ([[1,2,[3]],4]) in Elm.

What does this do ?

This simple package allows handling nested lists in Elm.

It provides a type

type NestedList a
    = Element a
    | Nested (List (NestedList a))

as well as functions to work with this type, including a JSON encoder and a decoder.

test

Just run npm install && npm test