pdf:typing
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
pdf:typing [2015/04/02 16:14] – [Specializing] christian | pdf:typing [2015/04/02 16:15] – [Specializing] christian | ||
---|---|---|---|
Line 65: | Line 65: | ||
From the pragmas above types (instances of Type) are created when sending #typesOf: to a Dictionary with the attribute name as argument. Example: | From the pragmas above types (instances of Type) are created when sending #typesOf: to a Dictionary with the attribute name as argument. Example: | ||
- | | + | <code smalltalk> |
+ | Trailer new typesOf: #Root | ||
+ | </ | ||
returns | returns | ||
- | | + | <code smalltalk> |
+ | Array with: (IndirectType on: Catalog) | ||
+ | </ | ||
==== Extended typing ==== | ==== Extended typing ==== |
/var/www/virtual/code4hl/html/dokuwiki/data/pages/pdf/typing.txt · Last modified: 2015/04/02 16:17 by christian