will create a mutable copy of ''array'' and append ''eggplants'' to each object.

will create a mutable copy of ''array'' and append ''eggplants'' to each object.

Current revision

HOM (short for High Order Messaging) is a mechanism for encapsulating control structures and other programming patterns. It is similar to blocks in Smalltalk and higher order functions in functional languages.

This is a stupid example (because I do not like eggplants) that would give us

(
"I like to eat one eggplants",
"I like to eat two eggplants",
"I like to eat three eggplants",
"I like to eat four eggplants",
"I like to eat five eggplants",
"I like to eat six eggplants",
"I like to eat seven eggplants",
"I like to eat eight eggplants",
"I like to eat nine eggplants",
"I like to eat ten eggplants"
)

-performAfterDelay:

Performs the argument message after a specified delay.

[[someArray performAfterDelay: 5] delayedMessage];

-ignoreExceptions

Traps and ignores any exception that may occur during execution of the argument message.

[[someArray ignoreExceptions] messageThatMayRaiseAnException];

-ifResponds

Sends the argument message only if the receiver reponds to it.
Instead of writing