diff options
| author | krasimir <krasimir@chalmers.se> | 2010-01-31 14:45:44 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2010-01-31 14:45:44 +0000 |
| commit | acd927f87bfcc9b1a3b9f38371239adf27a3bf6b (patch) | |
| tree | 0c61b37a4b7adcc862d99e7806f99a22f4329a7d /src/runtime/haskell | |
| parent | e71545eab1a0e2528eb18f0296b07caaebed22a9 (diff) | |
add Show instance and remove the Eq and Ord instances for PGF.Expr.Equation and PGF.Expr.Patt
Diffstat (limited to 'src/runtime/haskell')
| -rw-r--r-- | src/runtime/haskell/PGF/Expr.hs | 4 |
1 files 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
|
