On Sat, May 7, 2011 at 2:29 AM, Steven D'Aprano
<steve+comp.lang.pyt...@pearwood.info> wrote:
>> This isn't really amb; as you said it's just a brute-force solver with
>> some weird syntax.  The whole point of amb is to enable
>> non-deterministic programming, such as this:
> [...]
>> The amb engine would conceptually execute this function for every
>> possible combination of a, b, and c,
>
> Which pretty much is the definition of "brute-force solver", no?

The "execute the function for every possible combination" part, yes.
The "non-deterministic programming" part, no.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to