cab-0.2.10: A maintenance command of Haskell cabal packages

Safe HaskellNone

Distribution.Cab.VerDB

Contents

Synopsis

Types

data VerDB Source

Instances

Creating

Converting

toList :: VerDB -> [(PkgName, Ver)]Source

Converting VerDB to alist.

>>> db <- getVerDB InstalledOnly
>>> elem "base" . map fst . toList $ db
True

toMap :: VerDB -> Map PkgName VerSource

Converting VerDB to Map.