napkin-1.0.0
Safe HaskellNone
LanguageGHC2021

Napkin.Run.Effects.Interceptors.LogProgram

Documentation

class ToDumpItem (b :: k) (a :: (Type -> Type) -> k1 -> Type) where #

Methods

toDumpItem :: forall (r :: EffectRow) (x :: k1). a (Sem r) x -> DumpItem b #

Instances

Instances details
ToDumpItem BigQuery BigQueryExtra # 
Instance details

Defined in Napkin.Run.Effects.Interpreters.Backend.BigQuery

Methods

toDumpItem :: forall (r :: EffectRow) x. BigQueryExtra (Sem r) x -> DumpItem BigQuery #

ToDumpItem Postgres PostgresExtra # 
Instance details

Defined in Napkin.Run.Effects.Interpreters.Backend.Postgres

Methods

toDumpItem :: forall (r :: EffectRow) x. PostgresExtra (Sem r) x -> DumpItem Postgres #

ToDumpItem MsSql (BackendSpecificEffect MsSql) # 
Instance details

Defined in Napkin.Run.Effects.Interpreters.Backend.MsSql

Methods

toDumpItem :: forall (r :: EffectRow) x. BackendSpecificEffect MsSql (Sem r) x -> DumpItem MsSql #

ToDumpItem Redshift (BackendSpecificEffect Redshift) # 
Instance details

Defined in Napkin.Run.Effects.Interpreters.Backend.Redshift

ToDumpItem Sqlite (BackendSpecificEffect Sqlite) # 
Instance details

Defined in Napkin.Run.Effects.Interpreters.Backend.Sqlite

Methods

toDumpItem :: forall (r :: EffectRow) x. BackendSpecificEffect Sqlite (Sem r) x -> DumpItem Sqlite #

ToDumpItem (b :: k) (Assertion :: (Type -> Type) -> Type -> Type) # 
Instance details

Defined in Napkin.Run.Effects.Interceptors.LogProgram

Methods

toDumpItem :: forall (r :: EffectRow) x. Assertion (Sem r) x -> DumpItem b #

ToDumpItem (b :: k) (External :: (Type -> Type) -> Type -> Type) # 
Instance details

Defined in Napkin.Run.Effects.Interceptors.LogProgram

Methods

toDumpItem :: forall (r :: EffectRow) x. External (Sem r) x -> DumpItem b #

ToDumpItem (b :: k) (Log :: (Type -> Type) -> Type -> Type) # 
Instance details

Defined in Napkin.Run.Effects.Interceptors.LogProgram

Methods

toDumpItem :: forall (r :: EffectRow) x. Log (Sem r) x -> DumpItem b #

(Show (BackendTableMeta b), Show (BackendViewMeta b), Show (BackendMaterializedViewMeta b), IsRenderable Query b, IsRenderable Statement b, IsRenderable SExp b, IsRenderable UpdateQuery b, IsRenderable String b, Default (BackendTableMeta b), Default (BackendViewMeta b), MaybeDefault (YamlBackendMaterializedViewMeta b), Eq (BackendTableMeta b), Eq (BackendViewMeta b), Eq (YamlBackendMaterializedViewMeta b)) => ToDumpItem (b :: Type) (SqlWrite b :: (Type -> Type) -> Type -> Type) # 
Instance details

Defined in Napkin.Run.Effects.Interceptors.LogProgram

Methods

toDumpItem :: forall (r :: EffectRow) x. SqlWrite b (Sem r) x -> DumpItem b #

ToDumpItem (b :: k) (AnnotateRead b :: (Type -> Type) -> Type -> Type) # 
Instance details

Defined in Napkin.Run.Effects.Interceptors.LogProgram

Methods

toDumpItem :: forall (r :: EffectRow) x. AnnotateRead b (Sem r) x -> DumpItem b #

ToDumpItem (b :: k) (AnnotateWrite b :: (Type -> Type) -> Type -> Type) # 
Instance details

Defined in Napkin.Run.Effects.Interceptors.LogProgram

Methods

toDumpItem :: forall (r :: EffectRow) x. AnnotateWrite b (Sem r) x -> DumpItem b #

(IsRenderable SExp b, IsRenderable Query b, IsRenderable String b) => ToDumpItem (b :: k) (SqlRead b :: (Type -> Type) -> Type -> Type) # 
Instance details

Defined in Napkin.Run.Effects.Interceptors.LogProgram

Methods

toDumpItem :: forall (r :: EffectRow) x. SqlRead b (Sem r) x -> DumpItem b #

interceptDumpLog :: forall b (r :: EffectRow) a. (Members '[Output (DumpItem b) :: (Type -> Type) -> Type -> Type, AnnotateRead b :: (Type -> Type) -> Type -> Type, AnnotateWrite b :: (Type -> Type) -> Type -> Type, SqlWrite b :: (Type -> Type) -> Type -> Type, SqlRead b :: (Type -> Type) -> Type -> Type, External :: (Type -> Type) -> Type -> Type, Log :: (Type -> Type) -> Type -> Type, Assertion :: (Type -> Type) -> Type -> Type] r, Member (BackendSpecificEffect b) r, DumpBackendRequirements b) => LogResults -> Sem r a -> Sem r a #

dumpReadResult :: forall {k} (b :: k) (rInitial :: EffectRow) x. HasBackendSchemaField b => SqlRead b (Sem rInitial) x -> x -> DumpItem b #

formatRef :: forall {k} (t :: k). Ref t -> Doc RenderInfoFormatting #