hercules-ci-api-agent-0.5.1.0: API definition for Hercules CI Agent to talk to hercules-ci.com or Hercules CI Enterprise
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hercules.Formats.Common

Documentation

withKind :: Text -> (Object -> Parser a) -> Value -> Parser a Source #

newtype VersionParser a Source #

Constructors

VersionParser 

Instances

Instances details
Functor VersionParser Source # 
Instance details

Defined in Hercules.Formats.Common

Methods

fmap :: (a -> b) -> VersionParser a -> VersionParser b #

(<$) :: a -> VersionParser b -> VersionParser a #

withVersions :: forall a. [VersionParser a] -> Object -> Parser a Source #