Verb
From Erights
(Difference between revisions)
Kevin Reid (Talk | contribs) |
(see also Noun; formally define as being String) |
||
| Line 1: | Line 1: | ||
A verb is a string. | A verb is a string. | ||
| - | + | The verb is one of the parts of a message or a method signature; in other languages it might be called the "method name" or "selector". Ordinary E objects dispatch to methods based on the combination of the verb and the ''arity'', the number of arguments; this combination is conventionally written “<var>verb</var>/<var>arity</var>” (e.g. “add/1”) and when used in a program is known as a ''mangled verb'' or ''mverb''. | |
| + | |||
| + | def Verb := String | ||
==See also== | ==See also== | ||
| Line 8: | Line 10: | ||
* [[Miranda respondsTo]] | * [[Miranda respondsTo]] | ||
* [[Miranda getAllegedType]] | * [[Miranda getAllegedType]] | ||
| + | * [[Noun]] | ||
[[Category:ELib specification]] | [[Category:ELib specification]] | ||
Latest revision as of 03:54, 7 August 2011
A verb is a string.
The verb is one of the parts of a message or a method signature; in other languages it might be called the "method name" or "selector". Ordinary E objects dispatch to methods based on the combination of the verb and the arity, the number of arguments; this combination is conventionally written “verb/arity” (e.g. “add/1”) and when used in a program is known as a mangled verb or mverb.
def Verb := String

