Nested lists (
[[1,2,],4]) in Elm.
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.
npm install && npm test