puppetlabs/puppet — pull request #2651 by hlindberg (2014-05-14 15:52:45+00:00)
Title: (PUP-514) Add optionally typed parameters

Optionally typed parameters adds the capability to define the type of a parameter in class, defined, and lambda expressions. Also intimately related is the ability to define the last lambda parameter to be a "captures rest" (which is not available for parameters to defines and classes since the instantiation calls to those are arg passing by name, and not by position).