FinalSlot
From Erights
(Difference between revisions)
(category) |
(Created page. Is there anything more to add?) |
||
Line 1: | Line 1: | ||
- | + | FinalSlot is an [[Slot]] that aquires its value at creation/definition time and there after always returns that value. | |
- | + | The :final guard checks if the slot passed is an FinalSlot. | |
- | + | An anology for people that design computer hardware is that defining an FinalSlot is akin to manifacture an ROM containing the | |
- | + | specified data. | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + |
Revision as of 00:29, 24 March 2008
FinalSlot is an Slot that aquires its value at creation/definition time and there after always returns that value.
The :final guard checks if the slot passed is an FinalSlot.
An anology for people that design computer hardware is that defining an FinalSlot is akin to manifacture an ROM containing the specified data.