Safe Haskell | None |
---|---|
Language | Haskell2010 |
Effect
data Input i m a where Source #
An effect which can provide input to an application. Useful for dealing with streaming input.
Instances
type DefiningModule (Input :: k1 -> k2 -> k1 -> Type) Source # | |
Defined in Polysemy.Input |
Actions
Interpretations
runInputConst :: i -> Sem (Input i ': r) a -> Sem r a Source #
Run an Input
effect by always giving back the same value.