Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-1797

request for keyword

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • 1.5.1
    • syntax
    • None

    Description

      Is it possible to have "unless" as a counterpart to "if".

      This will make it possible to rewrite:
      if (!(cond)) ...
      as unless(cond) ...

      Attachments

        Activity

          People

            Unassigned Unassigned
            perl2ruby Rangarajan Radhakrishnan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: