On 5/25/15 11:53 PM, Tofu Ninja wrote:
On Tuesday, 26 May 2015 at 05:43:59 UTC, Tofu Ninja wrote:
On Tuesday, 26 May 2015 at 05:22:26 UTC, Tofu Ninja wrote:
Actually the code seems to compile on 2.067.1 but definitely does not
work as expected.
...

I guess it stems from the fact that its "lazy (bool[])"
Wish I could do "(lazy bool)[]"

Lazy variadic functions are clearly defined here: http://dlang.org/function.html

The correct way to do it is:

bool tok_and(bool delegate()[] terms ...)

-Steve

Reply via email to