next up previous contents index
Next: Body of the IF-Abstraction Up: The IF- Abstraction Previous: The IF- Abstraction   Contents   Start

Remark:

Many programming languages have problems with such a construct, because their language implementation evaluates the arguments before they are effectively passed to a function. This is in contrast to the function of the selector to select the code to be evaluated.

Programming languages having problems with this construct are those that use `eager evaluation' like C, C++, Pascal, Java, Perl, Lisp, Scheme, SML and many more.
Programming languages being capable of handling such an abstraction use `lazy evaluation' like Miranda, Haskell, A++ and a few other functional programming languages.



Georg P. Loczewski 2004-03-05


Impressum und Datenschutz