build-0.0.1: Build systems a la carte

Safe HaskellSafe
LanguageHaskell2010

Build.Task

Description

The Task abstractions.

Synopsis

Documentation

type Task c k v = forall f. c f => (k -> f v) -> f v Source #

A task is used to compute the value of a key, by finding the necessary dependencies using the provided fetch :: k -> f v callback.

type Tasks c k v = forall f. c f => k -> Maybe ((k -> f v) -> f v) Source #

Tasks associates a Task with every non-input key. Nothing indicates that the key is an input.