Maintainer | Ertugrul Soeylemez <es@ertes.de> |
---|
Control.Wire.Classes
Contents
Description
Type classes used in Netwire.
Various effects
class Arrow >~ => ArrowClock (>~) whereSource
Arrows with a clock.
Instances
ArrowClock (Kleisli IO) | Instance for the system time. Use this only for testing. This is intentionally specific to allow you to define better instances with custom arrows. |
class Arrow >~ => ArrowIO (>~) whereSource
Arrows which support running IO computations.
Instances
MonadIO m => ArrowIO (Kleisli m) | |
(Applicative f, ArrowChoice >~, ArrowIO >~) => ArrowIO (Wire (f SomeException) >~) | When the target arrow is an |