Jarrett Billingsley:
> Can you try declaring b as a nested function instead of as a delegate
> literal and see if that helps?

I think that may lead to nonworking code.

> (why are you declaring it the way you are, anyway?

Here you can find explanations:
http://en.wikipedia.org/wiki/Man_or_boy_test

Here you can find other two versions that work, but I think the version I have 
shown is the more robust one (that is: able to computer up to higher N values 
with D1 compiler):
http://www.rosettacode.org/wiki/Man_or_boy_test#D

Bye,
bearophile

Reply via email to