LogoopenSUSE Build Service > Projects
Sign Up | Log In

Data pretty printing made easy
http://mjambon.com/easy-format.html

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:".

Source Files (show merged sources derived from linked package)

Filename Size Changed Actions
easy-format-1.2.0.tar.xz 14.2 KB Download File
ocaml-easy-format.changes 1.41 KB Download File
ocaml-easy-format.spec 4.2 KB Download File

Comments for devel:languages:ocaml (1)

repo-checker wrote almost 2 years ago

The version of this package in openSUSE:Factory has installation issues and may not be installable:

can't install ocaml-easy-format-devel-1.2.0-2.1.i586:
  nothing provides ocaml(Buffer) = 3bd1af04573ce2da7fc3dc04403e852e needed by ocaml-easy-format-devel-1.2.0-2.1.i586
    (we have ocaml-runtime-4.05.0-1.1.i586)
  nothing provides ocaml(CamlinternalFormatBasics) = 9642e3ed163e46770985ca668738ed5f needed by ocaml-easy-format-devel-1.2.0-2.1.i586
    (we have ocaml-runtime-4.05.0-1.1.i586)
  nothing provides ocaml(List) = ac5f6095cc0a546330ada0df0986a497 needed by ocaml-easy-format-devel-1.2.0-2.1.i586
    (we have ocaml-runtime-4.05.0-1.1.i586)
  nothing provides ocaml(Pervasives) = 999b28e3b7638771c87eebf5a8325e42 needed by ocaml-easy-format-devel-1.2.0-2.1.i586
    (we have ocaml-runtime-4.05.0-1.1.i586)
  nothing provides ocaml(String) = c28a3ca42a30c6ffa0bbab4a05329226 needed by ocaml-easy-format-devel-1.2.0-2.1.i586
    (we have ocaml-runtime-4.05.0-1.1.i586)
  nothing provides ocaml(runtime) = 4.03.0 needed by ocaml-easy-format-devel-1.2.0-2.1.i586
    (we have ocaml-runtime-4.05.0-1.1.i586)
  nothing provides ocaml(Printf) = 0145d8daf24f9afd43ffac3c376fa3c4 needed by ocaml-easy-format-devel-1.2.0-2.1.i586
    (we have ocaml-runtime-4.05.0-1.1.i586)
  nothing provides ocaml(Format) = 60c2e7663dd57d13b5920931742e1c10 needed by ocaml-easy-format-devel-1.2.0-2.1.i586
    (we have ocaml-runtime-4.05.0-1.1.i586)
  nothing provides ocaml(Hashtbl) = 049026f8240c3b61bd91f719b0f55877 needed by ocaml-easy-format-devel-1.2.0-2.1.i586
    (we have ocaml-runtime-4.05.0-1.1.i586)

can't install ocaml-easy-format-devel-1.2.0-2.1.x86_64:
  nothing provides ocaml(Buffer) = 3bd1af04573ce2da7fc3dc04403e852e needed by ocaml-easy-format-devel-1.2.0-2.1.x86_64
    (we have ocaml-runtime-4.05.0-1.1.x86_64)
  nothing provides ocaml(CamlinternalFormatBasics) = 9642e3ed163e46770985ca668738ed5f needed by ocaml-easy-format-devel-1.2.0-2.1.x86_64
    (we have ocaml-runtime-4.05.0-1.1.x86_64)
  nothing provides ocaml(Format) = 60c2e7663dd57d13b5920931742e1c10 needed by ocaml-easy-format-devel-1.2.0-2.1.x86_64
    (we have ocaml-runtime-4.05.0-1.1.x86_64)
  nothing provides ocaml(Hashtbl) = 049026f8240c3b61bd91f719b0f55877 needed by ocaml-easy-format-devel-1.2.0-2.1.x86_64
    (we have ocaml-runtime-4.05.0-1.1.x86_64)
  nothing provides ocaml(List) = ac5f6095cc0a546330ada0df0986a497 needed by ocaml-easy-format-devel-1.2.0-2.1.x86_64
    (we have ocaml-runtime-4.05.0-1.1.x86_64)
  nothing provides ocaml(Pervasives) = 999b28e3b7638771c87eebf5a8325e42 needed by ocaml-easy-format-devel-1.2.0-2.1.x86_64
    (we have ocaml-runtime-4.05.0-1.1.x86_64)
  nothing provides ocaml(String) = c28a3ca42a30c6ffa0bbab4a05329226 needed by ocaml-easy-format-devel-1.2.0-2.1.x86_64
    (we have ocaml-runtime-4.05.0-1.1.x86_64)
  nothing provides ocaml(runtime) = 4.03.0 needed by ocaml-easy-format-devel-1.2.0-2.1.x86_64
    (we have ocaml-runtime-4.05.0-1.1.x86_64)
  nothing provides ocaml(Printf) = 0145d8daf24f9afd43ffac3c376fa3c4 needed by ocaml-easy-format-devel-1.2.0-2.1.x86_64
    (we have ocaml-runtime-4.05.0-1.1.x86_64)

Login required, please login or signup in order to comment