Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: groovy-jdk
    • Labels:
      None
    • Environment:
      all

      Description

      (from http://stackoverflow.com/questions/3231974/groovy-power-print )

      Groovy has a power assert, but I'd like a power print. For example,

      def foo = 'banna5', monkey=7, x=70
      println "foo=$foo, monkey=$monkey, x/2=$

      {x/2}

      "

      See the repeating foo, monkey, and expression in the println line... what I want to type is this,

      pprint foo, monkey, x/2

      This is the output I expect (from either println or pprintln),

      foo=banna5, monkey=7, x/2=35

        Activity

        Bob Herrmann created issue -
        Jochen Theodorou made changes -
        Field Original Value New Value
        Affects Version/s 1.7.x [ 15538 ]
        Cédric Champeau made changes -
        Labels contributers-welcome
        Cédric Champeau made changes -
        Labels contributers-welcome contrib
        Guillaume Delcroix made changes -
        Labels contrib
        Pascal Schumacher made changes -
        Component/s groovy-jdk [ 10750 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12733245 ] Default workflow, editable Closed status [ 12745014 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12970827 ] Default workflow, editable Closed status [ 12978615 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Bob Herrmann
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development