Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
The Task abstractions.
Documentation
A Task
is used to compute a value of type v
, by finding the necessary
dependencies using the provided fetch :: k -> f v
callback.
compose :: Tasks Monad k v -> Tasks Monad k v -> Tasks Monad k v Source #
Compose two task descriptions, preferring the first one in case there are two tasks corresponding to the same key.