Return-Path: X-Original-To: apmail-groovy-users-archive@minotaur.apache.org Delivered-To: apmail-groovy-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8740B17FCF for ; Sat, 3 Oct 2015 21:18:27 +0000 (UTC) Received: (qmail 30350 invoked by uid 500); 3 Oct 2015 21:18:27 -0000 Delivered-To: apmail-groovy-users-archive@groovy.apache.org Received: (qmail 30318 invoked by uid 500); 3 Oct 2015 21:18:27 -0000 Mailing-List: contact users-help@groovy.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@groovy.incubator.apache.org Delivered-To: mailing list users@groovy.incubator.apache.org Received: (qmail 30278 invoked by uid 99); 3 Oct 2015 21:18:27 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Oct 2015 21:18:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id BC28D1A084D for ; Sat, 3 Oct 2015 21:18:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.501 X-Spam-Level: *** X-Spam-Status: No, score=3.501 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, KAM_LINKBAIT=2.5, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id wHg95eo_eqiX for ; Sat, 3 Oct 2015 21:18:20 +0000 (UTC) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 97447210B9 for ; Sat, 3 Oct 2015 21:18:19 +0000 (UTC) Received: by wicgb1 with SMTP id gb1so73123907wic.1 for ; Sat, 03 Oct 2015 14:18:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-type:content-transfer-encoding; bh=D8zpYuB7YYH2UmGivnIlZ1AY6Yspp+Ah2+WZf7UQcso=; b=LtmcM6EAvj06kFdHjX35e7kZPeqYBXOorkqpGUeT3R9KKDHd+9/RqJTYzEnZbTiGH/ HsRS4tiD91sJzvTPRV60waaDjwybqlb90jN4Nl6/arJ8T+JJwAYoS+rtgz/DhpOux3BR wQLxBnA6Vp/erjFfMiSsx3tH+LSW8teYseFy6/gyMUh3VklUhcM2lxwfgzWWUVGOZIBs E4wppp1elfLvkoBRS/jm3gqwCNarTQDfredcy7QmH1eL4YFxNgZ94pkTNGMvRxrPxH/F AD0PH46JX9FWih6gZ7Wf9j/DM6oOip/ge8670nTeP23tOok81gdz/Xe8hN7MThV0WnDB USMw== X-Gm-Message-State: ALoCoQnwEZtN6BPlvlv9g3WRrUyuOQJ9xQNjlI24/ymE5FSS8TmiyTd/qWNPZcUvDj6Fw8GX3sS3 X-Received: by 10.180.101.198 with SMTP id fi6mr4231489wib.25.1443907098021; Sat, 03 Oct 2015 14:18:18 -0700 (PDT) Received: from [127.0.0.1] ([5.32.60.206]) by smtp.gmail.com with ESMTPSA id p1sm5949945wif.7.2015.10.03.14.18.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Oct 2015 14:18:17 -0700 (PDT) To: users@groovy.incubator.apache.org From: Paul King Subject: Re: Iterate over 2 lists in a closure? Message-ID: <56104619.6030106@asert.com.au> Date: Sun, 4 Oct 2015 07:18:17 +1000 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 151002-0, 02/10/2015), Outbound message X-Antivirus-Status: Clean Remember also that we have indexed() and withIndex() for zips with the index count. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus