shouldBeWaiting :: Set Job.Name -> Job.Stage
shouldBeWaiting = maybe (Queued LocalQueue) Waiting . Job.nonEmptySet
shouldBeWaiting :: Set Job.Name -> Job.Stage
shouldBeWaiting = maybe (Queued LocalQueue) Waiting . Job.nonEmptySet
shouldBeWaiting = maybe (Queued LocalQueue) Waiting . Job.nonEmptySet