Safe Haskell | None |
---|---|
Language | Haskell2010 |
Composable computational workflows. See https://github.com/tweag/funflow
This module re-exports other modules for conveniency.
Synopsis
- module Funflow.Flow
- module Funflow.Run
- (>>>) :: forall k cat (a :: k) (b :: k) (c :: k). Category cat => cat a b -> cat b c -> cat a c
- caching :: forall (core :: Type -> Type -> Type) ident a b (r :: RopeRec) (mantle :: [Strand]). (Arrow core, ProvidesCaching core, ContentHashable IO ident, ContentHashable IO a, Store b) => ident -> Rope r mantle core a b -> Rope r mantle core a b
- tryE :: TryEffect ex eff => eff a b -> eff a (Either ex b)
- throwE :: ThrowEffect ex eff => eff (Either ex b) b
Documentation
module Funflow.Flow
module Funflow.Run
(>>>) :: forall k cat (a :: k) (b :: k) (c :: k). Category cat => cat a b -> cat b c -> cat a c infixr 1 #
Left-to-right composition
caching :: forall (core :: Type -> Type -> Type) ident a b (r :: RopeRec) (mantle :: [Strand]). (Arrow core, ProvidesCaching core, ContentHashable IO ident, ContentHashable IO a, Store b) => ident -> Rope r mantle core a b -> Rope r mantle core a b #
Any rope whose core provides caching can run cached tasks. The task is identified by an explicit identifier
throwE :: ThrowEffect ex eff => eff (Either ex b) b #