Why it works: Walnut and coconut match in chemistry and in kitchens. They rank in the top 4% of all ingredient pairs, and 606 recipes mention both. Both carry 2,3,5-trimethylpyrazine, which smells cocoa, roasted. The science ↓
The recipe
Ingredients
Contains: milk, tree nuts (auto-detected from the ingredients and method; we can miss things, so check labels)
Directions
Make the mixture
In a large pot, combine sugar, glucose, molasses, chocolate, butter, and water.
Cook the mixture over medium heat until it reaches 236°F (113°C).
Shape and set
Remove from heat and stir in walnuts and shredded coconut until well mixed.
Pour the mixture onto a slab and roll it out to the height of caramels.
Let it set for one hour, then cut into pieces the size of caramels.
Transcribed from a scanned cookbook and modernised for today's kitchens. Where the book gave no heat or time, or said "a moderate oven", the temperatures and times here may be modern equivalents rather than the book's own figures.
Found this recipe through an AI assistant? CompKitchen also shows which ingredients go well together and why, from the aroma molecules they share and how often recipes combine them. Try the pairing tools.
Explore the science
The flavor team
The pairs that carry this dish. Each one is judged two ways: how much aroma chemistry they share, and how many recipes mention both.
-
Walnut + coconuttop 4% of all pairsAroma overlapstrongMentioned together606 recipes
Shared aroma: 2,3,5-trimethylpyrazine (cocoa, roasted).
-
Chocolate + coconuttop 4% of all pairsAroma overlapstrongMentioned together1,107 recipes
Shared aroma: gamma-nonanolactone (coconut, sweet).
-
Chocolate + walnuttop 4% of all pairsAroma overlapmoderateMentioned together1,548 recipes
Shared aroma: 3-ethyl-2,5-dimethylpyrazine (roasted, nutty).
-
Butter + coconuttop 5% of all pairsAroma overlapstrongMentioned together3,456 recipes
Shared aroma: delta-dodecalactone (sweet, creamy).
-
Sugar + molassestop 6% of all pairsAroma overlapmoderateMentioned together9,225 recipes
Shared aroma: ethanol (alcoholic, ethereal).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Sugar
- Provides sweetness and the bulk of the sugar structure that sets the bars firm.
- Glucose
- Inhibits crystallization, keeping the mixture smooth and chewy rather than grainy.
- Butter
- Adds fat for a tender, soft texture and rich flavor.
- Shredded coconut
- Adds chewy texture and bulk to the set bars.
- English walnuts
- Add crunch and a nutty flavor against the chewy base.
The step that matters
Cooking to 236°F (113°C). This temperature is the firm-ball stage for sugar syrup. Undercooking leaves the bars soft and sticky, while overcooking makes them hard and brittle once they set.
Flavor stand-ins for the walnut
How well each one fits the dish's main ingredients (sugar, molasses, chocolate, butter, coconut):
- Almondbetter flavor fit
- Pecansbetter flavor fit
- Peanutbetter flavor fit
- Walnutthe original
Fit is the average pairing score against sugar, molasses, chocolate, butter, coconut. Candidates are from the same food group and used in at least 100 recipes. This compares flavor only: it does not check the job the ingredient does in the dish (bulk, moisture, acidity, structure).
“What each ingredient does” and “The step that matters” were written by Claude, an AI, from this recipe’s own method. They are not checked recipe by recipe, so they can be wrong.
Make it your own
Stand-ins, a drink, and quick taste fixes for this dish, ranked by how well each fits its other ingredients: shared aroma molecules and how often recipes combine them.
You might also like
The Sunday pairing: one pairing, the chemistry behind it, and how to cook it. No spam, unsubscribe anytime.
Prefer an account? Create a free account for sign-in; Pro adds the full results and chemistry.
Illustration
Illustration
Illustration
Illustration