From 0f52df3fa767862d13fa7904cabe8105676255a7 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Tue, 23 Feb 2010 19:51:28 -0500 Subject: [PATCH] poset: Add fixity declarations. --- Data/Poset/Internal.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Data/Poset/Internal.hs b/Data/Poset/Internal.hs index 13e8e9d..8c4622b 100644 --- a/Data/Poset/Internal.hs +++ b/Data/Poset/Internal.hs @@ -75,6 +75,8 @@ class Eq a => Poset a where a <= b = a < b || a `compare` b == EQ a >= b = a > b || a `compare` b == EQ +infixl 4 <,<=,>=,>,<==>, + -- | Class for partially ordered data types where sorting makes sense. -- This includes all totally ordered sets and floating point types. Instances -- should satisfy the following laws: -- 2.11.4.GIT