[commit: haddock] ghc-7.8: Handle infix vs prefix names correctly everywhere, by explicitly specifying the context (8e90220)

git at git.haskell.org git at git.haskell.org
Thu Jan 30 18:52:35 UTC 2014


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

On branch  : ghc-7.8
Link       : http://git.haskell.org/haddock.git/commitdiff/8e9022080a6fad142404a8724b78f37ec670d3d8

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

commit 8e9022080a6fad142404a8724b78f37ec670d3d8
Author: Dr. ERDI Gergo <gergo at erdi.hu>
Date:   Fri Jan 31 00:55:50 2014 +0800

    Handle infix vs prefix names correctly everywhere, by explicitly specifying the context
    
    The basic idea is that "a" and "+" are either pretty-printed as "a" and "(+)"  or "`a`" and "+"
    
    (cherry picked from commit 039b2346cd7a9998135636146ea234eb9cc0fbab)
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


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

8e9022080a6fad142404a8724b78f37ec670d3d8
 html-test/ref/Ticket75.html             |    6 +--
 src/Haddock/Backends/Xhtml.hs           |   14 +++---
 src/Haddock/Backends/Xhtml/Decl.hs      |   32 +++++++-------
 src/Haddock/Backends/Xhtml/DocMarkup.hs |    4 +-
 src/Haddock/Backends/Xhtml/Names.hs     |   72 ++++++++++++++++++-------------
 5 files changed, 69 insertions(+), 59 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 8e9022080a6fad142404a8724b78f37ec670d3d8


More information about the ghc-commits mailing list