Recipes for Cooking
A holiday meal where more than one person works concurrently
Preparing a meal during the holidays is also a list of tasks, but often more than one person needs to do things concurrently:
roast_turkey(i) : Ingredients -> Turkey
# Roast Turkey
@chef
1. Set oven temperature { oven(180 °C) ~ temp }
2. Place bacon strips onto bird
3. Put bird into oven
4. Set timer for roasting { timer(3 hr) }
5. Record temperature
{
[
"Roast temperature" = temp
]
}
@assistant
- Set the table
Here we have inline code blocks where we switch from human-readable descriptive prose to calling functions and then binding the results to variables.
What makes this document different is that two people are involved, the chef and their assistant. Each has been given steps to accomplish individually. Crucially, the two people can work through their tasks at the same time, concurrently.