From Erights

Revision as of 02:42, 2 July 2008 by Kevin Reid (Talk)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

SimpleSlot is the type of slot which underlies a var pattern. It has a value which can be replaced at any time.

The name is a legacy from when such slots were the unmarked case in Kernel-E (that is, the pattern "foo" created a SimpleSlot).

You can obtain a read-only facet on a SimpleSlot via Slot#readOnly/0.

Maker FQN: org.erights.e.elib.slot.makeSimpleSlot


Maker protocol


asType() :Guard

Returns the SimpleSlot guard, which all products of this maker pass.


run(value :any) :SimpleSlot

Makes a SimpleSlot with the specified initial value.


SimpleSlots have no protocol beyond Slot.

Personal tools
more tools