puppetlabs / puppet-specifications

Specification of the Puppet Language, Catalog, Extension points
Other
99 stars 66 forks source link

(PUP-7930) Update Array - Hash example #150

Closed joshcooper closed 3 years ago

joshcooper commented 3 years ago

Array - Hash removes [key, value] entries in the hash from the array, similar to how Array + Hash adds [key, value] entries like:

   [1,2,3] + {a => 10, b => 20}    # => [1,2,3, [a, 10], [b, 20]]