Funarg_problem Funarg_problem

Funarg problem - Definition

Related Words: Aggravation, Annoyance, Anxiety, Basis, Bore, Bug, Bugbear, Burden, Case, Catch, Catechism

Funarg is an abbreviation for "functional argument"; in computer science, the funarg problem relates to the difficulty of implementing functions as first-class citizen objects in stack-based programming language implementations.

There are two subtly different versions of the funarg problem:

  • The upwards funarg problem is the problem of passing a function as a value returned "upwards" from a function call
  • The downwards funarg problem is the problem of passing a function value as a parameter "down" into another function call

In both of these cases, the problem relates to correctly passing the function's environment together with the function's code.

Full-featured functional languages do not have either of these problems, at the cost of not being able to use simple stack-based activation records in the general case.

See also

External link

Copyright 2009 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.