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

Move sort function from stdlib to puppet

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 6.0.0
    • Docs
    • None
    • New Feature
    • 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.
    • 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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support