| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Language.SystemF
Documentation
class PrettyPrint a where Source #
Minimal complete definition
Methods
prettyPrint :: a -> String Source #
Instances
| PrettyPrint String Source # | |
| PrettyPrint s => PrettyPrint (PDoc s) Source # | |
| PrettyPrint n => PrettyPrint (Ty n) Source # | |
| PrettyPrint a => PrettyPrint (LambdaExpr a) Source # | |
| (PrettyPrint n, PrettyPrint t) => PrettyPrint (SystemFExpr n t) Source # | |
data SystemFExpr name ty Source #
Constructors
| Var name | |
| App (SystemFExpr name ty) (SystemFExpr name ty) | |
| Abs name (Ty ty) (SystemFExpr name ty) | |
| TyAbs ty (SystemFExpr name ty) | |
| TyApp (SystemFExpr name ty) (Ty ty) |
Instances
| (Eq ty, Eq name) => Eq (SystemFExpr name ty) Source # | |
| (Show ty, Show name) => Show (SystemFExpr name ty) Source # | |
| (PrettyPrint n, PrettyPrint t) => PrettyPrint (SystemFExpr n t) Source # | |
evalString :: String -> Either ParseError (SystemFExpr String String) Source #
parseExpr :: String -> Either ParseError (SystemFExpr String String) Source #