summaryrefslogtreecommitdiff
path: root/src/runtime/haskell/PGF/Expr.hs-boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/haskell/PGF/Expr.hs-boot')
-rw-r--r--src/runtime/haskell/PGF/Expr.hs-boot28
1 files changed, 28 insertions, 0 deletions
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