more of the abstract API copied from the old runtimes

This commit is contained in:
krangelov
2021-08-12 12:06:50 +02:00
parent 0ece508716
commit 16dfcb938c
4 changed files with 165 additions and 68 deletions

View File

@@ -24,8 +24,14 @@ module PGF2 (-- * PGF
Fun, functions, functionsByCat,
functionType, functionIsConstructor, functionProb,
-- ** Expressions
Expr(..), Literal(..),
readExpr,
Expr(..), Literal(..), readExpr,
mkAbs, unAbs,
mkApp, unApp, unapply,
mkStr, unStr,
mkInt, unInt,
mkDouble, unDouble,
mkFloat, unFloat,
mkMeta, unMeta,
-- ** Types
Type(..), Hypo, BindType(..),
readType,