debian-3.91.2: Modules for working with the Debian package system

Safe HaskellNone
LanguageHaskell98

Debian.Relation.String

Contents

Description

A module for working with debian relationships http://www.debian.org/doc/debian-policy/ch-relationships.html

Synopsis

Types

Helper Functions

checkVersionReq :: Maybe VersionReq -> Maybe DebianVersion -> Bool Source #

Check if a version number satisfies a version requirement.

Relation Parser

class ParseRelations a where Source #

Minimal complete definition

parseRelations

Methods

parseRelations :: a -> Either ParseError Relations Source #

parseRelations parse a debian relation (i.e. the value of a Depends field). Return a parsec error or a value of type Relations

Orphan instances