Skip to content

lovasoa/elm-nested-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Nested lists and associated Json decoders and encoders for Elm.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages