orc.runtime.values
Interface ListLike

All Known Implementing Classes:
ConsValue, ListValue, NilValue

public interface ListLike


Method Summary
 void uncons(Token caller)
          Return the head and tail of a cons-like data structure to a token, or die.
 void unnil(Token caller)
          Signal a token if this value is equivalent to nil, or die.
 

Method Detail

uncons

void uncons(Token caller)
Return the head and tail of a cons-like data structure to a token, or die. The only place this should be called is TryCons


unnil

void unnil(Token caller)
Signal a token if this value is equivalent to nil, or die. The only place this should be called is TryNil

Parameters:
caller -