commit | be4f0a7748433fb051f6d67bf24c77a73add6a12 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Fri Jun 29 02:41:16 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Fri Jun 29 02:41:16 2001 +0000 |
tree | 8a8b415aef1803e38e3467d65d77bb7f7d72f371 | |
parent | 7becc91fefacaffc403b0cb47178a3d817843cad [diff] |
Added a simple but general backtracking generator (conjoin), and a couple examples of use. These poke stuff not specifically targeted before, incl. recursive local generators relying on nested scopes, ditto but also inside class methods and rebinding instance vars, and anonymous partially-evaluated generators (the N-Queens solver creates a different column-generator for each row -- AFAIK this is my invention, and it's really pretty <wink>). No problems, not even a new leak.