debian-4.0.2: Modules for working with the Debian package system
Safe HaskellSafe
LanguageHaskell98

Debian.Release

Description

This module name is spurious - Release is not an official term in the debian documentation.

Synopsis

Documentation

newtype Section Source #

A section of a repository such as main, contrib, non-free, restricted. The indexes for a section are located below the distribution directory.

Constructors

Section String 

Instances

Instances details
Eq Section Source # 
Instance details

Defined in Debian.Release

Methods

(==) :: Section -> Section -> Bool

(/=) :: Section -> Section -> Bool

Ord Section Source # 
Instance details

Defined in Debian.Release

Methods

compare :: Section -> Section -> Ordering

(<) :: Section -> Section -> Bool

(<=) :: Section -> Section -> Bool

(>) :: Section -> Section -> Bool

(>=) :: Section -> Section -> Bool

max :: Section -> Section -> Section

min :: Section -> Section -> Section

Read Section Source # 
Instance details

Defined in Debian.Release

Methods

readsPrec :: Int -> ReadS Section

readList :: ReadS [Section]

readPrec :: ReadPrec Section

readListPrec :: ReadPrec [Section]

Show Section Source # 
Instance details

Defined in Debian.Release

Methods

showsPrec :: Int -> Section -> ShowS

show :: Section -> String

showList :: [Section] -> ShowS

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

Instances details
Eq SubSection Source # 
Instance details

Defined in Debian.Release

Methods

(==) :: SubSection -> SubSection -> Bool

(/=) :: SubSection -> SubSection -> Bool

Ord SubSection Source # 
Instance details

Defined in Debian.Release

Read SubSection Source # 
Instance details

Defined in Debian.Release

Methods

readsPrec :: Int -> ReadS SubSection

readList :: ReadS [SubSection]

readPrec :: ReadPrec SubSection

readListPrec :: ReadPrec [SubSection]

Show SubSection Source # 
Instance details

Defined in Debian.Release

Methods

showsPrec :: Int -> SubSection -> ShowS

show :: SubSection -> String

showList :: [SubSection] -> ShowS

parseSection :: String -> SubSection Source #

Parse the value that appears in the Section field of a .changes file. (Does this need to be unesacped?)