Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
typeModule :: forall term m. (CoreTyping term, MonadThrow m) => Env term -> ModTerm term -> m (ModType term) Source #
data ModTypingError Source #
CircularValue Text | |
CircularType Text | |
CircularModule Text | |
KindMismatch Text | |
UnmatchedSignatureComponent Text | |
ValueComponentsMismatch Text Text | |
TypeComponentsMismatch Text Text | |
ModuleTypeMismatch |
Instances
Exception ModTypingError Source # | |
Defined in Momo.ModTyping | |
Show ModTypingError Source # | |
Defined in Momo.ModTyping showsPrec :: Int -> ModTypingError -> ShowS # show :: ModTypingError -> String # showList :: [ModTypingError] -> ShowS # | |
Eq ModTypingError Source # | |
Defined in Momo.ModTyping (==) :: ModTypingError -> ModTypingError -> Bool # (/=) :: ModTypingError -> ModTypingError -> Bool # | |
Ord ModTypingError Source # | |
Defined in Momo.ModTyping compare :: ModTypingError -> ModTypingError -> Ordering # (<) :: ModTypingError -> ModTypingError -> Bool # (<=) :: ModTypingError -> ModTypingError -> Bool # (>) :: ModTypingError -> ModTypingError -> Bool # (>=) :: ModTypingError -> ModTypingError -> Bool # max :: ModTypingError -> ModTypingError -> ModTypingError # min :: ModTypingError -> ModTypingError -> ModTypingError # |