| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Debian.Release
Description
This module name is spurious - Release is not an official term in the debian documentation.
Synopsis
- newtype Section = Section String
- data SubSection = SubSection {}
- sectionName :: SubSection -> String
- sectionName' :: Section -> String
- sectionNameOfSubSection :: SubSection -> String
- parseSection :: String -> SubSection
- parseSection' :: String -> Section
Documentation
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.
Constructors
| SubSection | |
Fields
| |
Instances
| Read SubSection Source # | |
Defined in Debian.Release Methods readsPrec :: Int -> ReadS SubSection # readList :: ReadS [SubSection] # readPrec :: ReadPrec SubSection # readListPrec :: ReadPrec [SubSection] # | |
| Show SubSection Source # | |
Defined in Debian.Release Methods showsPrec :: Int -> SubSection -> ShowS # show :: SubSection -> String # showList :: [SubSection] -> ShowS # | |
| Eq SubSection Source # | |
Defined in Debian.Release | |
| Ord SubSection Source # | |
Defined in Debian.Release Methods compare :: SubSection -> SubSection -> Ordering # (<) :: SubSection -> SubSection -> Bool # (<=) :: SubSection -> SubSection -> Bool # (>) :: SubSection -> SubSection -> Bool # (>=) :: SubSection -> SubSection -> Bool # max :: SubSection -> SubSection -> SubSection # min :: SubSection -> SubSection -> SubSection # | |
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 #