Funarg problem

Funarg problem

Frederic P. Miller, Agnes F. Vandome, John McBrewster

     

бумажная книга



Издательство: Книга по требованию
Дата выхода: июль 2011
ISBN: 978-6-1308-0569-2
Объём: 72 страниц
Масса: 129 г
Размеры(В x Ш x Т), см: 23 x 16 x 1

High Quality Content by WIKIPEDIA articles! Funarg is an abbreviation for "functional argument"; in computer science, the funarg problem relates to a difficulty in implementing functions as first-class objects in stack-based programming language implementations. The difficulty only arises if the body of a function refers directly (i.e., not via argument passing) to identifiers defined in the environment in which the function is defined, but not in the environment of the function call. To summarize the discussion below, two standard resolutions are to either forbid such references or to create closures. There are two subtly different versions of the funarg problem. The upwards funarg problem arises from returning a function from a function call. The downwards funarg problem arises from passing a function as a parameter to another function call.

Данное издание не является оригинальным. Книга печатается по технологии принт-он-деманд после получения заказа.

Каталог