Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
A model for Hydra namespaces and modules (collections of elements in the same namespace)
Synopsis
- newtype FileExtension = FileExtension {}
- _FileExtension :: Name
- data Module = Module {}
- _Module :: Name
- _Module_namespace :: Name
- _Module_elements :: Name
- _Module_termDependencies :: Name
- _Module_typeDependencies :: Name
- _Module_description :: Name
- newtype Namespace = Namespace {}
- _Namespace :: Name
- data QualifiedName = QualifiedName {}
- _QualifiedName :: Name
- _QualifiedName_namespace :: Name
- _QualifiedName_local :: Name
Documentation
newtype FileExtension Source #
Instances
Read FileExtension Source # | |
Defined in Hydra.Module readsPrec :: Int -> ReadS FileExtension # readList :: ReadS [FileExtension] # | |
Show FileExtension Source # | |
Defined in Hydra.Module showsPrec :: Int -> FileExtension -> ShowS # show :: FileExtension -> String # showList :: [FileExtension] -> ShowS # | |
Eq FileExtension Source # | |
Defined in Hydra.Module (==) :: FileExtension -> FileExtension -> Bool # (/=) :: FileExtension -> FileExtension -> Bool # | |
Ord FileExtension Source # | |
Defined in Hydra.Module compare :: FileExtension -> FileExtension -> Ordering # (<) :: FileExtension -> FileExtension -> Bool # (<=) :: FileExtension -> FileExtension -> Bool # (>) :: FileExtension -> FileExtension -> Bool # (>=) :: FileExtension -> FileExtension -> Bool # max :: FileExtension -> FileExtension -> FileExtension # min :: FileExtension -> FileExtension -> FileExtension # |
A logical collection of elements in the same namespace, having dependencies on zero or more other modules
Module | |
|
A prefix for element names
_Namespace :: Name Source #
data QualifiedName Source #
A qualified name consisting of an optional namespace together with a mandatory local name
Instances
Read QualifiedName Source # | |
Defined in Hydra.Module readsPrec :: Int -> ReadS QualifiedName # readList :: ReadS [QualifiedName] # | |
Show QualifiedName Source # | |
Defined in Hydra.Module showsPrec :: Int -> QualifiedName -> ShowS # show :: QualifiedName -> String # showList :: [QualifiedName] -> ShowS # | |
Eq QualifiedName Source # | |
Defined in Hydra.Module (==) :: QualifiedName -> QualifiedName -> Bool # (/=) :: QualifiedName -> QualifiedName -> Bool # | |
Ord QualifiedName Source # | |
Defined in Hydra.Module compare :: QualifiedName -> QualifiedName -> Ordering # (<) :: QualifiedName -> QualifiedName -> Bool # (<=) :: QualifiedName -> QualifiedName -> Bool # (>) :: QualifiedName -> QualifiedName -> Bool # (>=) :: QualifiedName -> QualifiedName -> Bool # max :: QualifiedName -> QualifiedName -> QualifiedName # min :: QualifiedName -> QualifiedName -> QualifiedName # |