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 m = Module {
- moduleNamespace :: Namespace
- moduleElements :: [Element m]
- moduleDependencies :: [Module m]
- moduleDescription :: Maybe String
- _Module :: Name
- _Module_namespace :: FieldName
- _Module_elements :: FieldName
- _Module_dependencies :: FieldName
- _Module_description :: FieldName
- newtype Namespace = Namespace {}
- _Namespace :: 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 | |
|
_Namespace :: Name Source #