<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
That solves only the cases when we really iterate over singleton.<br>
For nested iterations, we will still have a lot of boilerplate....<br>
<br>
<br>
<div class="moz-cite-prefix">On 16.6.2014 22:13, Lincoln Baxter, III
wrote:<br>
</div>
<blockquote
cite="mid:CAEp_U4GK-aA+USonruEh3qE_byQzX=J3oD59iFx=bQM+xH3_mw@mail.gmail.com"
type="cite">
<div dir="ltr">For the windup-configuration, i think the fastest
answer is to do this: <a moz-do-not-send="true"
href="https://issues.jboss.org/browse/WINDUP-87">https://issues.jboss.org/browse/WINDUP-87</a></div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Jun 12, 2014 at 8:03 AM, Ondrej
Zizka <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:ozizka@redhat.com" target="_blank">ozizka@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Nested iterations create verbose rules with a lot of
boilerplate.<br>
Maybe the iteration could be over tuples of vertices.<br>
Eg. in DiscoverJavaFilesCP, instead of<br>
<br>
forEach( windupConf )<br>
...<br>
...<br>
............<br>
.....<br>
forEach( javaFile )<br>
<br>
we could query to get<br>
[ { windupConf, javaFile },<br>
{ windupConf, javaFile }<br>
... ]<br>
<br>
And iterate over that.<br>
Anyone investigated this? IIRC from the Gremlin tutorial,
this is possible.<br>
<br>
Ondra<br>
_______________________________________________<br>
windup-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/windup-dev"
target="_blank">https://lists.jboss.org/mailman/listinfo/windup-dev</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
Lincoln Baxter, III<br>
<a moz-do-not-send="true" href="http://ocpsoft.org"
target="_blank">http://ocpsoft.org</a><br>
"Simpler is better."
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
windup-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:windup-dev@lists.jboss.org">windup-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/windup-dev">https://lists.jboss.org/mailman/listinfo/windup-dev</a></pre>
</blockquote>
<br>
</body>
</html>