Anonymous Recursion By Other Means
Although fixed point combinators are the standard solution for allowing a function not bound to an identifier to call itself, some languages like Perl provide a syntactical construct which allows anonymous functions to refer to themselves. For example, in Perl 5.16 and above, one can write the following:
use feature ":5.16"; sub { my $x = shift; $x == 0 ? 1 : __SUB__->( $x - 1 ); }Read more about this topic: Fixed-point Combinator, Implementing Fixed-point Combinators
Famous quotes containing the words anonymous and/or means:
“I cannot say what poetry is; I know that our sufferings and our concentrated joy, our states of plunging far and dark and turning to come back to the worldso that the moment of intense turning seems still and universalall are here, in a music like the music of our time, like the hero and like the anonymous forgotten; and there is an exchange here in which our lives are met, and created.”
—Muriel Rukeyser (19131980)
“To love something as an artist ... means to be shaken not by its ultimate value or lack of value, but by a side of it that suddenly opens up. Where art has value it shows things that few have seen. Its conquering, not pacifying.”
—Robert Musil (18801942)