From 68a78932b5b004945f6681bd51e8080e868fc0ee Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sun, 9 Mar 2014 16:32:36 +0100 Subject: Group similar fixities together Identical fixities declared for the same line should now render using syntax like: infix 4 <, >=, >, <= --- html-test/ref/Operators.html | 33 ++++++++++++++++++++++++++++++++- html-test/src/Operators.hs | 10 +++++++++- 2 files changed, 41 insertions(+), 2 deletions(-) (limited to 'html-test') diff --git a/html-test/ref/Operators.html b/html-test/ref/Operators.html index 89ebbbbf..fdc46aa6 100644 --- a/html-test/ref/Operators.html +++ b/html-test/ref/Operators.html @@ -144,7 +144,19 @@ window.onload = function () {pageLoad();setSynopsis("mini_Operators.html");}; >
  • (>><), (<<>) :: a -> b -> ()
  • (**>), (<**), (>**), (**<) :: a -> a -> ()
  • Methods

    infixr 4 >><
    infixl 5 <<>
    infixr 4 >><
    (>><), (<<>) :: a -> b -> ()

    infixr 8 **>, >**
    infixl 8 <**, **<
    (**>), (<**), (>**), (**<) :: a -> a -> ()

    Multiple fixities

    <> b where type a <>< b :: * data a ><< b - (>><) :: a -> b -> () + (>><), (<<>) :: a -> b -> () + + -- | Multiple fixities + (**>), (**<), (>**), (<**) :: a -> a -> () + infixr 1 ><> infixl 2 <>< infixl 3 ><< infixr 4 >>< +infixl 5 <<> + +infixr 8 **>, >** +infixl 8 **<, <** -- | Type synonym with fixity type (a >-< b) = a <-> b -- cgit v1.2.3