| Maintainer | Toshio Ito <debug.ito@gmail.com> |
|---|---|
| Safe Haskell | Safe |
| Language | Haskell2010 |
Staversion.Internal.Query
Description
This is an internal module. End-users should not use it.
- type PackageName = Text
- type Resolver = String
- data PackageSource
- sourceDesc :: PackageSource -> Text
- data Query
- parseQuery :: String -> Query
- type ErrorMsg = String
Documentation
type PackageName = Text Source #
data PackageSource Source #
Source of packages.
Constructors
| SourceStackage Resolver | stackage. |
| SourceHackage | hackage (latest) |
Instances
sourceDesc :: PackageSource -> Text Source #
description of a PackageSource.
Query for package version(s).
Constructors
| QueryName PackageName | |
| QueryCabalFile FilePath |
parseQuery :: String -> Query Source #