Issue #22785 has been updated by Josh Cooper. Status changed from In Topic Branch Pending Review to Merged - Pending Release
Merged in [bcc8412](https://github.com/puppetlabs/puppet/commit/bcc8412) to be released in 3.4.0. ---------------------------------------- Bug #22785: Rename the "collect" function to "map" https://projects.puppetlabs.com/issues/22785#change-98803 * Author: Henrik Lindberg * Status: Merged - Pending Release * Priority: Normal * Assignee: Henrik Lindberg * Category: language * Target version: 3.4.0 * Affected Puppet version: 3.2.1 * Keywords: function future_parser * Branch: https://github.com/puppetlabs/puppet/pull/1973 ---------------------------------------- The iterative "collect" function should be renamed to "map" since we chose to use "reduce" (instead of "inject" which goes with "collect"). Now we have a mix of two schools. The fix is to rename the collect function, but to keep a stub that throws an error that says that the users should change to using "map". Since this is in an experimental version we do not have to have a deprecation cycle. This has impact on user documentation, examples etc. that shows the "collect" function. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
