[commit: packages/pretty] master: Add annotations to the Doc type (49b786d)

git at git.haskell.org git at git.haskell.org
Wed Dec 16 07:11:41 UTC 2015


Repository : ssh://git@git.haskell.org/pretty

On branch  : master
Link       : http://git.haskell.org/packages/pretty.git/commitdiff/49b786dcdc9add53ad494615ae6bbe4b263c9766

>---------------------------------------------------------------

commit 49b786dcdc9add53ad494615ae6bbe4b263c9766
Author: Trevor Elliott <trevor at galois.com>
Date:   Sat Jan 24 10:29:20 2015 -0800

    Add annotations to the Doc type
    
     * Parameterize the Doc type by the type of annotations present
     * Add the Span type for describing annotated regions in the resulting String
     * Add renderSpans, and fullRenderAnn, for rendering with annotations


>---------------------------------------------------------------

49b786dcdc9add53ad494615ae6bbe4b263c9766
 src/Text/PrettyPrint/HughesPJ.hs      | 388 ++++++++++++++++++++++------------
 src/Text/PrettyPrint/HughesPJClass.hs |  10 +-
 2 files changed, 256 insertions(+), 142 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 49b786dcdc9add53ad494615ae6bbe4b263c9766


More information about the ghc-commits mailing list