From acd927f87bfcc9b1a3b9f38371239adf27a3bf6b Mon Sep 17 00:00:00 2001 From: krasimir Date: Sun, 31 Jan 2010 14:45:44 +0000 Subject: add Show instance and remove the Eq and Ord instances for PGF.Expr.Equation and PGF.Expr.Patt --- src/runtime/haskell/PGF/Expr.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/haskell/PGF/Expr.hs b/src/runtime/haskell/PGF/Expr.hs index 19fc8f627..5807c1815 100644 --- a/src/runtime/haskell/PGF/Expr.hs +++ b/src/runtime/haskell/PGF/Expr.hs @@ -68,7 +68,7 @@ data Patt = | PVar CId -- ^ variable | PWild -- ^ wildcard | PImplArg Patt -- ^ implicit argument in pattern - deriving (Eq,Ord) + deriving Show -- | The equation is used to define lambda function as a sequence -- of equations with pattern matching. The list of 'Expr' represents @@ -76,7 +76,7 @@ data Patt = -- equation. data Equation = Equ [Patt] Expr - deriving (Eq,Ord) + deriving Show -- | parses 'String' as an expression readExpr :: String -> Maybe Expr -- cgit v1.2.3