momo-0.1.0.0: Modular module system
Safe HaskellSafe-Inferred
LanguageGHC2021

Momo.CoreSyntax

Documentation

class CoreSyntax term where Source #

Associated Types

type Val term Source #

type Def term Source #

type Kind term Source #

Methods

substVal :: Val term -> Subst -> Val term Source #

substDef :: Def term -> Subst -> Def term Source #

substKind :: Kind term -> Subst -> Kind term Source #

type EqTerm term = (Eq (Kind term), Eq (Def term), Eq (Val term), Eq term) Source #

type OrdTerm term = (Ord (Kind term), Ord (Def term), Ord (Val term), Ord term) Source #

type ShowTerm term = (Show (Kind term), Show (Def term), Show (Val term), Show term) Source #