[windup-dev] Nested rules alternative?
Ondrej Zizka
ozizka at redhat.com
Tue Jun 17 05:51:02 EDT 2014
That solves only the cases when we really iterate over singleton.
For nested iterations, we will still have a lot of boilerplate....
On 16.6.2014 22:13, Lincoln Baxter, III wrote:
> For the windup-configuration, i think the fastest answer is to do
> this: https://issues.jboss.org/browse/WINDUP-87
>
>
> On Thu, Jun 12, 2014 at 8:03 AM, Ondrej Zizka <ozizka at redhat.com
> <mailto:ozizka at redhat.com>> wrote:
>
> Nested iterations create verbose rules with a lot of boilerplate.
> Maybe the iteration could be over tuples of vertices.
> Eg. in DiscoverJavaFilesCP, instead of
>
> forEach( windupConf )
> ...
> ...
> ............
> .....
> forEach( javaFile )
>
> we could query to get
> [ { windupConf, javaFile },
> { windupConf, javaFile }
> ... ]
>
> And iterate over that.
> Anyone investigated this? IIRC from the Gremlin tutorial, this is
> possible.
>
> Ondra
> _______________________________________________
> windup-dev mailing list
> windup-dev at lists.jboss.org <mailto:windup-dev at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/windup-dev
>
>
>
>
> --
> Lincoln Baxter, III
> http://ocpsoft.org
> "Simpler is better."
>
>
> _______________________________________________
> windup-dev mailing list
> windup-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/windup-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/windup-dev/attachments/20140617/e85bdc59/attachment.html
More information about the windup-dev
mailing list