fedora-packages-0.0.1: Haskell interface to the Fedora Packages webapp API.

Stabilityexperimental
MaintainerRicky Elrod <ricky@elrod.me>
Safe HaskellNone

Fedora.Packages.Releases

Description

Provides functions and datatypes for getting release information about Fedora packages.

Synopsis

Documentation

releasesSource

Arguments

:: PackagesConfig

The configuration to use.

-> Text

The name of the package to look up.

-> IO (StandardResults Release) 

Obtain release information about a package.

releases'Source

Arguments

:: PackagesConfig

The configuration to use.

-> Text

The name of the package to look up.

-> IO [Release] 

Helper method to query for release information without having to worry about traversing into StandardResults.

This is provided because this is one of the few places where the paging information probably really doesn't matter.

Equivalent to:

 _srRows <$> releases c q