Safe Haskell | Safe |
---|---|
Language | Haskell98 |
- data ReleaseName = ReleaseName {}
- parseReleaseName :: String -> ReleaseName
- releaseName' :: ReleaseName -> String
- newtype Section = Section String
- data SubSection = SubSection {}
- sectionName :: SubSection -> String
- sectionName' :: Section -> String
- sectionNameOfSubSection :: SubSection -> String
- parseSection :: String -> SubSection
- parseSection' :: String -> Section
Documentation
data ReleaseName Source #
A distribution (aka release) name. This type is expected to refer to a subdirectory of the dists directory which is at the top level of a repository.
parseReleaseName :: String -> ReleaseName Source #
releaseName' :: ReleaseName -> String Source #
A section of a repository such as main, contrib, non-free, restricted. The indexes for a section are located below the distribution directory.
data SubSection Source #
A package's subsection is only evident in its control information, packages from different subsections all reside in the same index.
sectionName :: SubSection -> String Source #
sectionName' :: Section -> String Source #
parseSection :: String -> SubSection Source #
Parse the value that appears in the Section
field of a .changes file.
(Does this need to be unesacped?)
parseSection' :: String -> Section Source #