Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data Specification term Source #
Instances
ShowTerm term => Show (Specification term) Source # | |
Defined in Momo.ModSyntax showsPrec :: Int -> Specification term -> ShowS # show :: Specification term -> String # showList :: [Specification term] -> ShowS # | |
EqTerm term => Eq (Specification term) Source # | |
Defined in Momo.ModSyntax (==) :: Specification term -> Specification term -> Bool # (/=) :: Specification term -> Specification term -> Bool # | |
OrdTerm term => Ord (Specification term) Source # | |
Defined in Momo.ModSyntax compare :: Specification term -> Specification term -> Ordering # (<) :: Specification term -> Specification term -> Bool # (<=) :: Specification term -> Specification term -> Bool # (>) :: Specification term -> Specification term -> Bool # (>=) :: Specification term -> Specification term -> Bool # max :: Specification term -> Specification term -> Specification term # min :: Specification term -> Specification term -> Specification term # |
Signature [Specification term] | |
FunctorType Ident (ModType term) (ModType term) |
Instances
ShowTerm term => Show (ModType term) Source # | |
EqTerm term => Eq (ModType term) Source # | |
OrdTerm term => Ord (ModType term) Source # | |
Defined in Momo.ModSyntax |
Instances
ShowTerm term => Show (TypeDecl term) Source # | |
EqTerm term => Eq (TypeDecl term) Source # | |
OrdTerm term => Ord (TypeDecl term) Source # | |
Defined in Momo.ModSyntax compare :: TypeDecl term -> TypeDecl term -> Ordering # (<) :: TypeDecl term -> TypeDecl term -> Bool # (<=) :: TypeDecl term -> TypeDecl term -> Bool # (>) :: TypeDecl term -> TypeDecl term -> Bool # (>=) :: TypeDecl term -> TypeDecl term -> Bool # |
data Definition term Source #
Instances
ShowTerm term => Show (Definition term) Source # | |
Defined in Momo.ModSyntax showsPrec :: Int -> Definition term -> ShowS # show :: Definition term -> String # showList :: [Definition term] -> ShowS # | |
EqTerm term => Eq (Definition term) Source # | |
Defined in Momo.ModSyntax (==) :: Definition term -> Definition term -> Bool # (/=) :: Definition term -> Definition term -> Bool # | |
OrdTerm term => Ord (Definition term) Source # | |
Defined in Momo.ModSyntax compare :: Definition term -> Definition term -> Ordering # (<) :: Definition term -> Definition term -> Bool # (<=) :: Definition term -> Definition term -> Bool # (>) :: Definition term -> Definition term -> Bool # (>=) :: Definition term -> Definition term -> Bool # max :: Definition term -> Definition term -> Definition term # min :: Definition term -> Definition term -> Definition term # |
LongIdent Path | |
Structure [Definition term] | |
Functor Ident (ModType term) (ModTerm term) | |
Apply (ModTerm term) (ModTerm term) | |
Constraint (ModTerm term) (ModType term) |
Instances
ShowTerm term => Show (ModTerm term) Source # | |
EqTerm term => Eq (ModTerm term) Source # | |
OrdTerm term => Ord (ModTerm term) Source # | |
Defined in Momo.ModSyntax |
substTypeDecl :: forall term. CoreSyntax term => TypeDecl term -> Subst -> TypeDecl term Source #
substModType :: forall term. CoreSyntax term => ModType term -> Subst -> ModType term Source #