Abstract type: Difference between revisions
Content added Content deleted
Line 126: | Line 126: | ||
is-instance? !destack Closure</lang> |
is-instance? !destack Closure</lang> |
||
So if ever we find an object which conforms it can be tagged. Here's a 'traditional' class definition using the Object class: |
So if ever we find an object which conforms it can be tagged. Here's a 'traditional' class definition using the Object class which ''does'' provide a constructor: |
||
<lang python>class XYZstack(Object) |
<lang python>class XYZstack(Object) |
||
def !init() |
def !init() |