3 ms·
Seems that "Dietary Substitutions" could be a first-class data type. It would be a named multi-map of one item to another one. So you could create you own "Di
by colordrops 9y ago
Seems that "Dietary Substitutions" could be a first-class data type. It would be a named multi-map of one item to another one. So you could create you own "Dietary Substitution Map" named "Nut allergies" or "Halal" or "Vegan", with butter -> canola oil, milk -> soy milk, milk -> almond milk, etc.
Then you could pick the particular substitution map that you care about and avoid forking recipes unnecessarily and have most recipes support most diet types if the proper map exists.
- keithasaurus 9y agoInteresting idea. I can think of a few ways it would get complicated pretty quickly, but it's probably 90% doable without too much effort.