Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.Prune.Section.Types
Description
Synopsis
- newtype CommonName = CommonName {
- unCommonName :: Text
- data NestedSection
- data Section
Documentation
newtype CommonName Source #
The name of a common
stanza.
Constructors
CommonName | |
Fields
|
Instances
Eq CommonName Source # | |
Defined in Data.Prune.Section.Types | |
Ord CommonName Source # | |
Defined in Data.Prune.Section.Types Methods compare :: CommonName -> CommonName -> Ordering # (<) :: CommonName -> CommonName -> Bool # (<=) :: CommonName -> CommonName -> Bool # (>) :: CommonName -> CommonName -> Bool # (>=) :: CommonName -> CommonName -> Bool # max :: CommonName -> CommonName -> CommonName # min :: CommonName -> CommonName -> CommonName # | |
Show CommonName Source # | |
Defined in Data.Prune.Section.Types Methods showsPrec :: Int -> CommonName -> ShowS # show :: CommonName -> String # showList :: [CommonName] -> ShowS # |
data NestedSection Source #
An indented section.
Constructors
BuildDependsNestedSection Int [String] | |
ImportNestedSection Int [String] | |
OtherNestedSection Int [String] |
Instances
Eq NestedSection Source # | |
Defined in Data.Prune.Section.Types Methods (==) :: NestedSection -> NestedSection -> Bool # (/=) :: NestedSection -> NestedSection -> Bool # | |
Ord NestedSection Source # | |
Defined in Data.Prune.Section.Types Methods compare :: NestedSection -> NestedSection -> Ordering # (<) :: NestedSection -> NestedSection -> Bool # (<=) :: NestedSection -> NestedSection -> Bool # (>) :: NestedSection -> NestedSection -> Bool # (>=) :: NestedSection -> NestedSection -> Bool # max :: NestedSection -> NestedSection -> NestedSection # min :: NestedSection -> NestedSection -> NestedSection # | |
Show NestedSection Source # | |
Defined in Data.Prune.Section.Types Methods showsPrec :: Int -> NestedSection -> ShowS # show :: NestedSection -> String # showList :: [NestedSection] -> ShowS # |
A top-level section.
Constructors
TargetSection CompilableType (Maybe CompilableName) [NestedSection] | |
CommonSection CommonName [NestedSection] | |
OtherSection [String] |