elenco-albero: make tree from a list

[ library, public-domain, tree ] [ Propose Tags ]

convert a flat list of nodes with optional parents to a (usually: if any nodes are assigned to parents) shorter list of nodes with nested children. Possible application: tree-like menu in web apps.


[Skip to Readme]
Versions 1.0.0
Change log changelog.md
Dependencies base (>=4.7 && <5.0), containers [details]
License LicenseRef-PublicDomain
Author Imants Cekusins
Maintainer Imants Cekusins
Category Tree
Home page https://bitbucket.org/ciezbit/elenco-albero
Source repo head: git clone ssh://bitbucket.org/ciezbit/elenco-albero.git
Uploaded by procione at Sat Jul 8 14:05:53 UTC 2017
Distributions NixOS:1.0.0
Downloads 262 total (14 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for elenco-albero-1.0.0

[back to package description]

elenco-albero

convert list to tree-like nested list

e.g. [a, b, c, d, e] to [a [b], c[d,e]]   
  (actual input / output types differ)
  
Possible application: tree-like menu
                      in web apps.