E (object)

From Erights

Revision as of 23:08, 20 April 2011 by Kevin Reid (Talk | contribs)
Jump to: navigation, search

The object named E in the universal env provides a number of useful operations and is the primitive with which variable-argument calls and sends may be made.

Contents

Protocol

call/3

Signature: call(recipient :any, verb :String, args :List) :any

The specification for this message has not been written.

callWithPair/3

Signature: callWithPair(recipient :any, verbAndArgs :Tuple[String, List]) :any

Equivalent to E.call(recipient, verbAndArgs[0], verbAndArgs[1]).

send/3

Signature: send(recipient :any, verb :String, args :List) :rcvr

The specification for this message has not been written.

sendOnly/3

Signature: sendOnly(recipient :any, verb :String, args :List) :XXX

The specification for this message has not been written.

toString/1

Signature: toString(object :any) :Twine
Equivalent to
def [tw, sb] := <elib:oldeio.makeTextWriter>.makeBufferingPair()
tw.print(object)
return sb.toString()
.

toQuote/1

Signature: toQuote(object :any) :Twine
Equivalent to
def [tw, sb] := <elib:oldeio.makeTextWriter>.makeBufferingPair()
tw.quote(object)
return sb.toString()
.
This page is a stub; it should be expanded with more information. If doing so, check the original E web site and the mailing list archives for content which could be moved into this page.
Personal tools
more tools