Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data StreamSpecification Source #
Instances
SingKind StreamSpecification Source # | |
Defined in Axel.Eff.Process type Demote StreamSpecification = (r :: *) # | |
SingI CreateStreams Source # | |
Defined in Axel.Eff.Process sing :: Sing CreateStreams # | |
SingI InheritStreams Source # | |
Defined in Axel.Eff.Process sing :: Sing InheritStreams # | |
data Sing (z :: StreamSpecification) Source # | |
Defined in Axel.Eff.Process | |
type Demote StreamSpecification Source # | |
Defined in Axel.Eff.Process |
type CreateStreamsSym0 = CreateStreams Source #
type InheritStreamsSym0 = InheritStreams Source #
type SStreamSpecification = (Sing :: StreamSpecification -> Type) Source #
type family StreamsHandler (a :: StreamSpecification) (f :: * -> *) :: * Source #
Instances
type StreamsHandler CreateStreams f Source # | |
Defined in Axel.Eff.Process | |
type StreamsHandler InheritStreams f Source # | |
Defined in Axel.Eff.Process |
type ProcessRunner' (streamSpec :: StreamSpecification) f = forall streamsHandler. streamsHandler ~ StreamsHandler streamSpec f => streamsHandler Source #
type ProcessRunnerPrimitive (streamSpec :: StreamSpecification) (f :: * -> *) = FilePath -> [String] -> ProcessRunner' streamSpec f Source #
type ProcessRunner (streamSpec :: StreamSpecification) (f :: * -> *) = SingI streamSpec => ProcessRunner' streamSpec f Source #
runProcessCreatingStreams :: Member Process effs => ProcessRunnerPrimitive CreateStreams (Eff effs) Source #
runProcessInheritingStreams :: Member Process effs => ProcessRunnerPrimitive InheritStreams (Eff effs) Source #
runProcess :: forall (streamSpec :: StreamSpecification) effs. Member Process effs => FilePath -> [String] -> ProcessRunner streamSpec (Eff effs) Source #