|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorc.runtime.values.Value
orc.runtime.values.OptionValue
orc.runtime.values.SomeValue
public class SomeValue
Field Summary | |
---|---|
Value |
content
|
Constructor Summary | |
---|---|
SomeValue(Value content)
|
Method Summary | |
---|---|
boolean |
isSome()
Test whether this value inhabits one of the option or list types. |
Value |
untag()
Return the contained value v of an option some(v). |
Methods inherited from class orc.runtime.values.OptionValue |
---|
accept |
Methods inherited from class orc.runtime.values.Value |
---|
forceArg, forceCall, head, isCons, isNil, isNone, signal, tail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Value content
Constructor Detail |
---|
public SomeValue(Value content)
Method Detail |
---|
public boolean isSome()
Value
isSome
in class Value
public Value untag()
Value
untag
in class Value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |