3 ms·
Hahaha! Right I expected the same for yogurt! I was thinking about this actually; are these actually recursive or just like self referential? But it's a recurs
by cdrini 3y ago
Hahaha! Right I expected the same for yogurt!
I was thinking about this actually; are these actually recursive or just like self referential? But it's a recursive data type!
type Ingredient {
ingredients: Ingredient[]
}
- runarberg 3y agoIn the recipe the third step of making yogurt calls for yogurt. > 3. Stir in some yogurt (from the store or from a friend) and cover with a clean damp towel overnight. It is kind of a missed opportunity to not include yogurt as the ingredients list for yogurt, and in the flow chart, to have a loop arrow from yogurt, pointing back into it self. “To make yogurt, you need milk and yogurt” EDIT: Looks like somebody already filed a feature request. https://github.com/schollz/recursive-recipes/issues/19 https://github.com/schollz/recursive-recipes/issues/19