CoreFP
data Exp Source #
Constructors
Instances
Methods
(==) :: Exp -> Exp -> Bool #
(/=) :: Exp -> Exp -> Bool #
showsPrec :: Int -> Exp -> ShowS #
show :: Exp -> String #
showList :: [Exp] -> ShowS #
data Type Source #
(==) :: Type -> Type -> Bool #
(/=) :: Type -> Type -> Bool #
showsPrec :: Int -> Type -> ShowS #
show :: Type -> String #
showList :: [Type] -> ShowS #
type TSub = [(Int, Type)] Source #
type Env = [(String, Type)] Source #
primitives :: Env Source #
tvars :: Type -> [Int] Source #
tcomp :: TSub -> TSub -> TSub Source #
tsub :: TSub -> Type -> Type Source #
tint :: Type Source #
tbool :: Type Source #
tpair :: Type -> Type -> Type Source #
tlist :: Type -> Type Source #
fromString :: String -> Exp Source #
(~>) :: Type -> Type -> Type infixr 8 Source #