yesod-job-queue-0.3.0.0: Background jobs library for Yesod.

Safe HaskellNone
LanguageHaskell2010

Yesod.JobQueue.GenericConstr

Contents

Synopsis

Demo> genericConstructors (Proxy :: Proxy (Either Int Bool))

Demo> genericConstructors (Proxy :: Proxy [Bool])

pmap :: (f a -> g b) -> proxy g -> Proxy f Source

genericConstructors :: forall a proxy. (Generic a, Constructors (Rep a)) => proxy a -> [[String]] Source

class Fields f where Source

Methods

fields :: proxy f -> [String] Source

Instances

Fields U1 Source 
Typeable * a => Fields (K1 i a) Source 
(Fields f, Fields g) => Fields ((:*:) f g) Source 
Fields f => Fields (M1 i c f) Source