dicts + amb
Diez B. Roggisch
deets at nospam.web.de
Wed Oct 11 17:45:09 EDT 2006
> Something unrelated that I don't know where to put.
> Recently I have seen the amb operator, it's not a simple operator. I
> have seen a (very simple) Ruby implementation:
> http://www.randomhacks.net/articles/2005/10/11/amb-operator
> I think a good amb implementation is a very complex thing. Can such
> operator be useful for Python too?
You might consider researching ALMA, a constraint-imperative programming
language that allows for program execution to be rolled-back to
so-called choicepoints. It heavily reminds me of that amb-operator of
yours.
Diez
More information about the Python-list
mailing list