aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Utils.hs
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2008-07-24 16:06:18 +0000
committerDavid Waern <david.waern@gmail.com>2008-07-24 16:06:18 +0000
commit87453c56ae000c05bb89824e5cce614996a7dfe1 (patch)
treee5e8b8e2b3fb487133a5f9dd2146c22f4aca55f1 /src/Haddock/Utils.hs
parent0debe1ef5929401a52df3c37ffd09a57bd1c8b8a (diff)
Drop unnecessary parenthesis in types, put in by the user
We were putting in parenthesis were the user did. Let's remove this since it just clutters up the types. The types are readable anyway since we print parens around infix operators and do not rely on fixity levels. When doing this I discovered that we were relying on user parenthesis when printin types like (a `O` b) c. This patchs fixes this problem so that parenthesis are always inserted around an infix op application in case it is applied to further arguments, or if it's an arguments to a type constructor. Tests are updated.
Diffstat (limited to 'src/Haddock/Utils.hs')
0 files changed, 0 insertions, 0 deletions