aur-api-0.1.1.0: ArchLinux AUR json v5 API

Safe HaskellNone
LanguageHaskell2010

Distribution.ArchLinux.AUR.Types

Description

Primitive types used for AUR RPC (json) API.

Documentation

data AURReply f a Source #

Instances

Functor f => Functor (AURReply f) Source # 

Methods

fmap :: (a -> b) -> AURReply f a -> AURReply f b #

(<$) :: a -> AURReply f b -> AURReply f a #

Show (f a) => Show (AURReply f a) Source # 

Methods

showsPrec :: Int -> AURReply f a -> ShowS #

show :: AURReply f a -> String #

showList :: [AURReply f a] -> ShowS #

(Functor f, Applicative f, Foldable f, Traversable f, FromJSON a, FromJSON (f a)) => FromJSON (AURReply f a) Source # 

Methods

parseJSON :: Value -> Parser (AURReply f a) #