ContentsIndex
Parsers.Depend
Description
this module parses the depend string of a package and returns a list of Dependency data structures
Synopsis
depend_parser :: ByteString -> [Dependency]
defaultDepend :: Dependency
get_depend :: FilePath -> IO (Maybe ByteString)
get_pdepend :: FilePath -> IO (Maybe ByteString)
get_rdepend :: FilePath -> IO (Maybe ByteString)
newtype PackageDep = PackageDep (String, [Dependency])
data Dependency = Dependency {
useFlags :: [ByteString]
qualifier :: ByteString
fullName :: ByteString
package :: ByteString
version :: ByteString
slot :: ByteString
useDeps :: ByteString
}
Documentation
depend_parser :: ByteString -> [Dependency]
top level function for parsing a package dependency string
defaultDepend :: Dependency
default Dependency data structure
get_depend :: FilePath -> IO (Maybe ByteString)

raw functions for attempting to open DEPEND, RDEPEND, and RDEPEND files

DEPEND

get_pdepend :: FilePath -> IO (Maybe ByteString)
PDEPEND
get_rdepend :: FilePath -> IO (Maybe ByteString)
RDPEND
newtype PackageDep
type holding all dependencies for a particular package
Constructors
PackageDep (String, [Dependency])
show/hide Instances
data Dependency
data structure for holding a dependency of a package; it includes the name, version, qualifier as well as the use flag that requested it if applicable
Constructors
Dependency
useFlags :: [ByteString]
qualifier :: ByteString
fullName :: ByteString
package :: ByteString
version :: ByteString
slot :: ByteString
useDeps :: ByteString
show/hide Instances
Produced by Haddock version 2.4.2