From f85232947e74ee7ef8c7b0ad2338212e7e68f1be Mon Sep 17 00:00:00 2001 From: krasimir Date: Sun, 13 Dec 2009 18:50:29 +0000 Subject: reorganize the directories under src, and rescue the JavaScript interpreter from deprecated --- src/runtime/haskell/PGF/Expr.hs-boot | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/runtime/haskell/PGF/Expr.hs-boot (limited to 'src/runtime/haskell/PGF/Expr.hs-boot') diff --git a/src/runtime/haskell/PGF/Expr.hs-boot b/src/runtime/haskell/PGF/Expr.hs-boot new file mode 100644 index 000000000..34a62a410 --- /dev/null +++ b/src/runtime/haskell/PGF/Expr.hs-boot @@ -0,0 +1,28 @@ +module PGF.Expr where + +import PGF.CId +import qualified Text.PrettyPrint as PP +import qualified Text.ParserCombinators.ReadP as RP + +data Expr + +instance Eq Expr +instance Ord Expr +instance Show Expr + + +data BindType = Explicit | Implicit + +instance Eq BindType +instance Ord BindType +instance Show BindType + + +pArg :: RP.ReadP Expr +pBinds :: RP.ReadP [(BindType,CId)] + +ppExpr :: Int -> [CId] -> Expr -> PP.Doc + +freshName :: CId -> [CId] -> CId + +ppParens :: Bool -> PP.Doc -> PP.Doc -- cgit v1.2.3