Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Napkin.Run.Effects.Interceptors.LogProgram
Documentation
class DumpPayload a b where #
Methods
renderDumpPayload_ :: a -> Doc #
Instances
(RenderSql a b, ReifiesBackend b) => DumpPayload a (b :: Type) # | |
Defined in Napkin.Run.Effects.Interceptors.LogProgram Methods renderDumpPayload_ :: a -> Doc # | |
DumpPayload String (b :: k) # | |
Defined in Napkin.Run.Effects.Interceptors.LogProgram Methods renderDumpPayload_ :: String -> Doc # |
type IsRenderable a b = (Show a, Eq a, DumpPayload a b, Typeable a) #
data Renderable b #
Constructors
forall a.IsRenderable a b => Renderable a |
Instances
Show (Renderable b) # | |
Defined in Napkin.Run.Effects.Interceptors.LogProgram Methods showsPrec :: Int -> Renderable b -> ShowS # show :: Renderable b -> String # showList :: [Renderable b] -> ShowS # | |
Eq (Renderable b) # | |
Defined in Napkin.Run.Effects.Interceptors.LogProgram |
renderDumpPayload :: forall b. Renderable b -> Doc #
pattern SimpleDumpItem :: Doc -> DumpItem b #
type DumpBackendRequirements b = (Show (BackendTableMeta b), Show (BackendViewMeta b), Show (BackendMaterializedViewMeta b), Eq (BackendTableMeta b), Eq (BackendViewMeta b), Eq (YamlBackendMaterializedViewMeta b), Default (BackendTableMeta b), Default (BackendViewMeta b), MaybeDefault (YamlBackendMaterializedViewMeta b), RenderSql Query b, RenderSql SExp b, RenderSql UpdateQuery b, RenderSql (Ref Table) b, RenderSql From b, RenderSql Name b, ReifiesBackend b) #
interceptDumpLog :: forall b r a. (Members [Output (DumpItem b), AnnotateRead b, AnnotateWrite b, SqlWrite b, SqlRead b, External, Log, Assertion] r, DumpBackendRequirements b) => Sem r a -> Sem r a #
class ToDumpItem b a where #
Methods
toDumpItem :: forall r x. a (Sem r) x -> DumpItem b #