morte-1.0.0: Bare-bones calculus-of-constructions
Morte
Contents
Description
A bare-bones calculus-of-constructions
Synopsis
data Const
Constants
Constructors
Instances
data Expr
Higher-order abstract syntax tree for expressions
typeOf :: Expr -> Either Text Expr
Type-check an expression and return the expression's type
normalize :: Expr -> Expr
Reduce an expression to normal form
pretty :: Expr -> Text
Pretty-print an expression as lazy Text
Text