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

Linspire.Debian.Relation.Common

Synopsis

Documentation

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

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 

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

Check if a version number satisfies a version requirement.