./textproc/hs-doclayout, Prettyprinting library for laying out text documents

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.5nb1, Package name: hs-doclayout-0.5nb1, Maintainer: pho

doclayout is a prettyprinting library for laying out text documents,
with several features not present in prettyprinting libraries designed
for code. It was designed for use in pandoc.


Required to run:
[devel/hs-safe] [converters/hs-emojis] [lang/ghc94]

Master sites:

Filesize: 42.419 KB

Version history: (Expand)


CVS history: (Expand)


   2025-02-02 14:06:08 by Masatake Daimon | Files touched by this commit (1173)
Log message:
Bump all Haskell packages after switching the default compiler.
   2025-01-10 00:23:47 by Thomas Klausner | Files touched by this commit (4) | Package updated
Log message:
textproc/hs-doclayout: update to doclayout-0.5

## 0.5

  * Extract existing HasChars definition into a module
    Text.DocLayout.HasChars (Evan Silberman).

  * Add a `build` method to the signature of HasChars [API change]
    (Evan Silberman). This has a default definition, and is only needed with
    the ANSI renderer, so existing users should not need to add anything to
    their HasChars instances.

  * Introduce support for ANSI-styled output (Evan Silberman) [API change].
    `renderPlain` and `renderANSI` are now exported; the old `render`
    is a synonym of `renderPlain`.  In addition, various functions are
    exported to add ANSI formatting (including bold, italics,
    underline, strikeout, links, and colors) to a Doc. The Attributed
    type is also now exported.

  * Change type of Block constructor, replacing `[a]` with `[Attributed a]`,
    which carries a Font along with an inner string type [API change]
    (Evan Silberman).

  * Introduce FlatDocs and use them for rendering (Evan Silberman).
    This is an internal concept, not part of the public API.
    FlatDoc is an "intermediate representation" for the Doc \ 
"interpreter".
    The general design is that any Doc can be turned into a list of FlatDocs
    that carry equivalent information. The main point of doing this
    is to replace the nested Styled and Linked Docs, which form a more
    complicated tree structure than previously existed in DocLayout.

  * Deprecate `unfoldD`.
   2025-01-10 00:15:15 by Thomas Klausner | Files touched by this commit (24) | Package updated
Log message:
i*: recursive bump for hs-emojis update
   2024-05-09 03:32:57 by Masatake Daimon | Files touched by this commit (1137)
Log message:
Recursive revbump after changing the default Haskell compiler
   2024-04-29 14:21:49 by Masatake Daimon | Files touched by this commit (1)
Log message:
textproc/hs-doclayout: Fix build with GHC 9.8

This breaks build with the currently default GHC 9.6. Please bear with me
until I switch the default compiler.
   2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141)
Log message:
Revbump all Haskell after updating lang/ghc96
   2023-10-28 11:45:22 by Masatake Daimon | Files touched by this commit (4)
Log message:
textproc/hs-doclayout: Update to 0.4.0.1

0.4.0.1
    Add clause for Empty to renderList (#22).
    Remove upper bound for criterion
   2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988)
Log message:
Bump Haskell packages after updating lang/ghc94