debian-1.2.1: A set of modules for working with Debian control files and packages

Linspire.Debian.Relation.String

Contents

Description

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

Synopsis

Types

data VersionReq Source

Instances

Eq VersionReq 
Ord VersionReq

FIXME: This instance is currently incomplete and only handles the case where two version requirements are equal.

Show VersionReq 

Helper Functions

checkVersionReq :: Maybe VersionReq -> Maybe DebianVersion -> BoolSource

Check if a version number satisfies a version requirement.

Relation Parser

class ParseRelations a whereSource

Methods

parseRelations :: a -> Either ParseError RelationsSource

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