From Erights

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

FinalSlot is the type of slot which underlies a final pattern. It is PassByCopy; it is given its value when it is created and cannot be assigned.

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

The FinalSlot guard is parameterizable with a guard for the value; e.g. makeFinalSlot(1) :FinalSlot[float64] => <& 1.0>

Maker protocol


asType() :Guard

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


run(value :any) :FinalSlot

Makes a FinalSlot with the specified value.

Personal tools
more tools