freer-extras-1.2.0.0: Useful extensions to simple-freer
Safe HaskellNone
LanguageHaskell2010

Control.Monad.Freer.Extras.Beam

Documentation

type BeamableDb db table = (Beamable table, FieldsFulfillConstraint (BeamSqlBackendCanSerialize db) table) Source #

type BeamThreadingArg = QNested (QNested QBaseScope) Source #

newtype BeamError Source #

Constructors

SqlError Text 

Instances

Instances details
Eq BeamError Source # 
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Common

Show BeamError Source # 
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Common

Generic BeamError Source # 
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Common

Associated Types

type Rep BeamError :: Type -> Type Source #

Exception BeamError Source # 
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Common

ToObject BeamError Source # 
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Common

Methods

toObject :: TracingVerbosity -> BeamError -> Object

textTransformer :: BeamError -> Object -> Text

ToJSON BeamError Source # 
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Common

Methods

toJSON :: BeamError -> Value

toEncoding :: BeamError -> Encoding

toJSONList :: [BeamError] -> Value

toEncodingList :: [BeamError] -> Encoding

FromJSON BeamError Source # 
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Common

Methods

parseJSON :: Value -> Parser BeamError

parseJSONList :: Value -> Parser [BeamError]

Pretty BeamError Source # 
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Common

Methods

pretty :: BeamError -> Doc ann

prettyList :: [BeamError] -> Doc ann

type Rep BeamError Source # 
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Common

type Rep BeamError = D1 ('MetaData "BeamError" "Control.Monad.Freer.Extras.Beam.Common" "freer-extras-1.2.0.0-1q4AUo79Td5ISTeTXorMWT" 'True) (C1 ('MetaCons "SqlError" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype BeamLog Source #

Constructors

SqlLog String 

Instances

Instances details
Eq BeamLog Source # 
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Common

Show BeamLog Source # 
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Common

Generic BeamLog Source # 
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Common

Associated Types

type Rep BeamLog :: Type -> Type Source #

ToObject BeamLog Source # 
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Common

Methods

toObject :: TracingVerbosity -> BeamLog -> Object

textTransformer :: BeamLog -> Object -> Text

ToJSON BeamLog Source # 
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Common

Methods

toJSON :: BeamLog -> Value

toEncoding :: BeamLog -> Encoding

toJSONList :: [BeamLog] -> Value

toEncodingList :: [BeamLog] -> Encoding

FromJSON BeamLog Source # 
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Common

Methods

parseJSON :: Value -> Parser BeamLog

parseJSONList :: Value -> Parser [BeamLog]

Pretty BeamLog Source # 
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Common

Methods

pretty :: BeamLog -> Doc ann

prettyList :: [BeamLog] -> Doc ann

type Rep BeamLog Source # 
Instance details

Defined in Control.Monad.Freer.Extras.Beam.Common

type Rep BeamLog = D1 ('MetaData "BeamLog" "Control.Monad.Freer.Extras.Beam.Common" "freer-extras-1.2.0.0-1q4AUo79Td5ISTeTXorMWT" 'True) (C1 ('MetaCons "SqlLog" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))