Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 539328 - dev-ml/easy-format-1.0.2 Pretty-printing library for OCaml
Summary: dev-ml/easy-format-1.0.2 Pretty-printing library for OCaml
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://mjambon.com/easy-format.html
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2015-02-08 11:04 UTC by José Romildo Malaquias
Modified: 2015-02-15 09:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
easy-format-1.0.2.ebuild (easy-format-1.0.2.ebuild,646 bytes, text/plain)
2015-02-08 11:04 UTC, José Romildo Malaquias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description José Romildo Malaquias 2015-02-08 11:04:48 UTC
Created attachment 395874 [details]
easy-format-1.0.2.ebuild

Please add easy-format to portage.

This module offers a high-level and functional interface to the Format module of the OCaml standard library. It is a pretty-printing facility, i.e. it takes as input some code represented as a tree and formats this code into the most visually satisfying result, breaking and indenting lines of code where appropriate.

Input data must be first modelled and converted into a tree using 3 kinds of nodes:

    atoms
    lists
    labelled nodes

Atoms represent any text that is guaranteed to be printed as-is. Lists can model any sequence of items such as arrays of data or lists of definitions that are labelled with something like "int main", "let x =" or "x:".
Comment 1 Alexis Ballier gentoo-dev 2015-02-15 09:07:26 UTC
added to the tree, thanks!