refactor the PGF.Expr type and the evaluation of abstract expressions

This commit is contained in:
krasimir
2009-05-20 21:03:56 +00:00
parent f9574dcf77
commit e5399f2d0e
32 changed files with 245 additions and 360 deletions

13
src/PGF/Expr.hs-boot Normal file
View File

@@ -0,0 +1,13 @@
module PGF.Expr where
import qualified Text.PrettyPrint as PP
import qualified Text.ParserCombinators.ReadP as RP
data Expr
instance Eq Expr
instance Ord Expr
pFactor :: RP.ReadP Expr
ppExpr :: Int -> Expr -> PP.Doc