average-vr-56795
10/18/2018, 11:33 AMyield Get(...), I need to result = yield Get(...) ; yield resultwitty-crayon-22786
10/18/2018, 3:34 PMwitty-crayon-22786
10/18/2018, 3:34 PMwitty-crayon-22786
10/18/2018, 3:35 PMyield Get(..), because that would imply that there is a conversion from LHS to RHSwitty-crayon-22786
10/18/2018, 3:35 PMwitty-crayon-22786
10/18/2018, 3:35 PMaverage-vr-56795
10/18/2018, 3:36 PM... do some stuff
for target in targets:
yield Get(Foo, Bar, bar)
but I that just doesn’t work because we don’t yield into collections; you can only yield once in the function?witty-crayon-22786
10/18/2018, 3:37 PMwitty-crayon-22786
10/18/2018, 3:37 PMwitty-crayon-22786
10/18/2018, 3:38 PM@rule could/can consume a nested generator... it just wouldn't be the engine consuming it