Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-8605

Move sort function from stdlib to puppet

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 6.0.0
    • Component/s: Docs
    • Labels:
      None
    • Release Notes:
      New Feature
    • Release Notes Summary:
      The {{sort()}} function has been moved from stdlib to puppet. The function now also accepts a lambda for the purpose of using a custom compare.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Move functions unique, reject, and sort() from stdlib to puppet and update them to use the 4.x function API. The new implementation must be backwards compatible but may add new features.

      The reject() function is not essential since there is a more powerful and general filter() function in puppet. Will not move that function. The unique() function has already been moved to puppet.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                henrik.lindberg Henrik Lindberg
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support