Initialisation du repository de Beta
This commit is contained in:
commit
14985f6dbb
9469 changed files with 1903273 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
from .core import exhaust, multiplex
|
||||
from .traverse import top_down
|
||||
|
||||
|
||||
def canon(*rules):
|
||||
""" Strategy for canonicalization
|
||||
|
||||
Apply each branching rule in a top-down fashion through the tree.
|
||||
Multiplex through all branching rule traversals
|
||||
Keep doing this until there is no change.
|
||||
"""
|
||||
return exhaust(multiplex(*map(top_down, rules)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue