calysto_scheme
calysto_scheme copied to clipboard
Create classes and instances
In Python, you can create a new class like this:
A = type("A", (SUPERCLASS, ...), {ATTRIBUTE: ..., })
If we do it that way, and an ATTRIBUTE is a Scheme function, we have to manually pass in self.