Jump to content

Abstract type: Difference between revisions

Line 136:
setq !items (cdr !items)
tmp</lang>
Now we instantatecan atag concretean object and validate that it conforms to the Abstract typeInterface:
<lang python>tag StackInterface (XYZstack(!new)) : StackInterface</lang>
 
=={{header|Haskell}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.