FinalSlot

From Erights

Revision as of 00:29, 24 March 2008 by Zarutian (Talk)
Jump to: navigation, search

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.

Personal tools
more tools