Job Monad #
This module contains additional definitions for Lake Job.
In particular, it defines JobM, which uses BuildContext, which contains
OpaqueJobs, hence the module split.
Construct a FetchM monad from its full functional representation.
Instances For
Convert a JobM monad to its full functional representation.
Instances For
Record that this job is trying to perform some action.
Instances For
Returns the current job's build trace.
Instances For
Sets the current job's build trace.
Instances For
Replace the job's build trace with a new empty trace.
Instances For
Mutates the job's trace, applying f to it.
Instances For
Set the caption of the job's build trace.
Instances For
Returns the current job's build trace and removes it from the state.
Instances For
Sets the current job's trace and returns the previous one.
Instances For
Mix a trace into the current job's build trace.
Instances For
The monad used to spawn asynchronous Lake build jobs. Lifts into FetchM.
Instances For
Construct a SpawnM monad from its full functional representation.
Instances For
Convert a SpawnM monad to its full functional representation.
Instances For
Returns a job that has synchronously performed act.
Instances For
Spawn a job that asynchronously performs act.
Instances For
Wait for a job to complete and return the produced value. Logs the job's log and throws if there was an error.
Instances For
Apply f asynchronously to the job's output.
Instances For
Apply f asynchronously to the job's output
and asynchronously await the resulting job.
Instances For
a.zipWith f b produces a new job c that applies f to the
results of a and b. The job c errors if either a or b error.
Instances For
a.zipWith f b produces a new job c that applies f to the
results of a and b. The job c errors if either a or b error.