Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class DumpPayload a b where #
renderDumpPayload_ :: a -> Doc #
Instances
DumpPayload String (b :: k) # | |
Defined in Napkin.Run.Effects.Interceptors.LogProgram renderDumpPayload_ :: String -> Doc # | |
(RenderSql a b, ReifiesBackend b) => DumpPayload a (b :: Type) # | |
Defined in Napkin.Run.Effects.Interceptors.LogProgram renderDumpPayload_ :: a -> Doc # |
type IsRenderable a b = (Show a, Eq a, DumpPayload a b, Typeable a) #
data Renderable b #
forall a.IsRenderable a b => Renderable a |
Instances
Eq (Renderable b) # | |
Defined in Napkin.Run.Effects.Interceptors.LogProgram (==) :: Renderable b -> Renderable b -> Bool # (/=) :: Renderable b -> Renderable b -> Bool # | |
Show (Renderable b) # | |
Defined in Napkin.Run.Effects.Interceptors.LogProgram showsPrec :: Int -> Renderable b -> ShowS # show :: Renderable b -> String # showList :: [Renderable b] -> ShowS # |
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), SqlWrite b, SqlRead b, ExternalCreate, Log, Assertion] r, DumpBackendRequirements b) => Sem r a -> Sem r a #
class ToDumpItem b a where #
toDumpItem :: forall r x. a (Sem r) x -> DumpItem b #