refactor Mapper.compose to tree traversal dual, add collate cache to CO3 base, add Mapper.collect safety checks

This commit is contained in:
2024-05-04 21:01:23 -07:00
parent 7b9814006f
commit 0d394c9bec
48 changed files with 160 additions and 5773 deletions

View File

@@ -12,6 +12,8 @@ from co3 import util
class Vegetable(CO3):
def __init__(self, name, color):
super().__init__()
self.name = name
self.color = color