public void put(final RippleList stack) throws RippleException {
// Grab the topmost item on the stack.
RippleValue subject = stack.getFirst();
// View the list in right-to-left order
RippleList list = stack.invert();
String prefix = " [" + ++index + "]" + INDEX_SEPARATOR;
String prefixIndent = " ".substring(0, prefix.length());
printStream.print(prefix);
//printStream.print( "" + ++index + " ->" + INDEX_SEPARATOR );
//printStream.print( "rdf:_" + ++index + INDEX_SEPARATOR );
if (printEntireStack) {
list.printTo(printStream, false);
} else {
subject.printTo(printStream);
}
printStream.print("\n");