Verb
From Erights
(Difference between revisions)
(see also Noun; formally define as being String) |
Kevin Reid (Talk | contribs) |
||
Line 1: | Line 1: | ||
A verb is a string. | A verb is a string. | ||
- | + | A 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''. | |
- | + | ||
- | + | ||
==See also== | ==See also== | ||
Line 10: | Line 8: | ||
* [[Miranda respondsTo]] | * [[Miranda respondsTo]] | ||
* [[Miranda getAllegedType]] | * [[Miranda getAllegedType]] | ||
- | |||
[[Category:ELib specification]] | [[Category:ELib specification]] |
Revision as of 03:51, 7 August 2011
A verb is a string.
A 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.