Debian Codegraph @

doc/_includes/examples/library-tla.libsonnet

raw
1 {
2 // Note that the Mimosa is now
3 // parameterized.
4 Mimosa(brunch): {
5 local fizz = if brunch then
6 'Cheap Sparkling Wine'
7 else
8 'Champagne',
9 ingredients: [
10 { kind: fizz, qty: 3 },
11 { kind: 'Orange Juice', qty: 3 },
12 ],
13 garnish: 'Orange Slice',
14 served: 'Champagne Flute',
15 },
16 }
17