orc.runtime.values
Class LazyListValue

java.lang.Object
  extended by orc.runtime.values.Value
      extended by orc.runtime.values.LazyListValue
All Implemented Interfaces:
ListLike

public abstract class LazyListValue
extends Value
implements ListLike


Field Summary
 
Fields inherited from class orc.runtime.values.Value
futureNotReady
 
Constructor Summary
LazyListValue()
           
 
Method Summary
abstract  void uncons(Token caller)
          Return the head and tail of a cons-like data structure to a token.
abstract  void unnil(Token caller)
           
 
Methods inherited from class orc.runtime.values.Value
accept, forceArg, forceCall, isNone, isSome, signal, untag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazyListValue

public LazyListValue()
Method Detail

uncons

public abstract void uncons(Token caller)
Description copied from interface: ListLike
Return the head and tail of a cons-like data structure to a token. The only place this should be called is the TryCons builtin site.

Specified by:
uncons in interface ListLike

unnil

public abstract void unnil(Token caller)
Specified by:
unnil in interface ListLike