Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type Renderable = Either Query SExp #
pattern SimpleDumpItem :: Doc -> DumpItem #
interceptDumpLog :: forall b r a. (Members [Output DumpItem, SqlWrite b, SqlRead, ExternalCreate, Log] r, Show (BackendTableMeta b), Show (BackendViewMeta b), Show (BackendMaterializedViewMeta b)) => Sem r a -> Sem r a #
class ToDumpItem a where #
toDumpItem :: forall r x. a (Sem r) x -> DumpItem #
Instances
ToDumpItem (Log :: (Type -> Type) -> Type -> Type) # | |
Defined in Napkin.Run.Effects.Interceptors.LogProgram | |
ToDumpItem (SqlRead :: (Type -> Type) -> Type -> Type) # | |
Defined in Napkin.Run.Effects.Interceptors.LogProgram | |
ToDumpItem (ExternalCreate :: (Type -> Type) -> Type -> Type) # | |
Defined in Napkin.Run.Effects.Interceptors.LogProgram toDumpItem :: forall (r :: EffectRow) (x :: k). ExternalCreate (Sem r) x -> DumpItem # | |
(Show (BackendTableMeta b), Show (BackendViewMeta b), Show (BackendMaterializedViewMeta b)) => ToDumpItem (SqlWrite b :: (Type -> Type) -> Type -> Type) # | |
Defined in Napkin.Run.Effects.Interceptors.LogProgram |
Orphan instances
FromBuilder Doc # | |
fromBuilder :: Builder -> Doc # | |
(RenderSql Query b, RenderSql SExp b) => RenderSql Renderable b # | |
renderSql :: b -> Renderable -> Doc # |