at:tutorial:appendix
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
at:tutorial:appendix [2008/07/10 16:32] – * tvcutsem | at:tutorial:appendix [2008/07/10 16:46] – * tvcutsem | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Appendix ====== | + | ====== Appendix: Libraries |
In the appendix, we explain useful libraries available to the AmbientTalk/ | In the appendix, we explain useful libraries available to the AmbientTalk/ | ||
Line 542: | Line 542: | ||
==== Traits ==== | ==== Traits ==== | ||
+ | |||
+ | The module ''/ | ||
+ | |||
+ | Using the '' | ||
+ | |||
+ | To define a " | ||
+ | < | ||
+ | trait: { | ||
+ | ... | ||
+ | } requiring: Protocol; | ||
+ | </ | ||
+ | |||
+ | The above code creates a trait that can only be composed into an object adhering to the specified protocol. To compose traits, use the following language construct: | ||
+ | |||
+ | < | ||
+ | object: { | ||
+ | use: { | ||
+ | import T1 exclude ...; | ||
+ | import T2 alias ...; | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | The '' | ||
+ | |||
+ | Note that the place where '' | ||
+ | |||
+ | Usage examples can be found in the unit tests in the file '' | ||
+ | |||
+ | ===== Utilities ===== | ||
+ | |||
+ | The files in the '' | ||
+ | |||
+ | ==== Timing Utilities ==== | ||
+ | |||
+ | ==== Logging Framework ==== | ||
+ | |||
+ | ==== Object Inspector ==== | ||
+ | |||
+ | ==== Symbiosis Utilities ==== | ||
+ | |||
+ | ==== Miscellaneous ==== |
at/tutorial/appendix.txt · Last modified: 2021/09/24 10:28 by elisag