elenco-albero: make tree from a list

[ library, public-domain, tree ] [ Propose Tags ] [ Report a vulnerability ]

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]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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 2017-07-08T14:05:53Z
Distributions NixOS:1.0.0
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1019 total (2 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

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.