The simtreelo package

[Tags:gpl, library]

This library loads a string or file into a Tree. The hierarchy is given solely by the indentation, meaning that the input is human-readable.


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.1.0, 0.1.1.1
Dependencies base (>=4.8 && <=4.10), containers [details]
License GPL-3
Copyright (c) 2014, 2015 Marcelo Garlet Millani
Author Marcelo Garlet Millani
Maintainer marcelogmillani@gmail.com
Category Data
Source repository head: darcs get http://hub.darcs.net/mgmillani/Simtreelo
Uploaded Mon Jul 18 12:39:40 UTC 2016 by mgmillani
Distributions NixOS:0.1.1.1
Downloads 928 total (30 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2016-07-18 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for simtreelo

Readme for simtreelo-0.1.1.1

Introduction

A library capable of loading a tree (a forest, actually) from a file. This tree is meant to be human-readable, with a free (as long as it is consistent) indentation style.

Simtree format

A Simtree must be organized in such a way that every child is one indentation deeper than its parent, and all siblings have the same indentation. The String used for indentation is inferred from the first indentation depth. The entire first line (except the newline character) represents the beginning of a comment.

Example file:

#
A
    B
    C
D
    E
        F
            G
H