OnlineWoerterBuecher.de
Internes

Lexikon


recursion


When a function (or procedure) calls ITself. Such a function is called "recursive". If the call is via one or more other functions then this group of functions are called "mutually recursive". If a function will always call ITself, however IT is called, then IT will never terminate. Usually however, IT first performs some test on ITs arguments to check for a "base case" - a condITion under which IT can return a value wIThout calling ITself. The canonical example of a recursive function is factorial: factorial 0 = 1 factorial n = n * factorial (n-1) Functional programming languages rely heavily on recursion, using IT where a procedural language would use ITeration. See also recursion, recursive definITion, tail recursion. [Jargon File] (1996-05-11)

In addITion suITable contents:
[ = ] [ actor ] [ ag ] [ ai ] [ al ] [ am ] [ an ] [ ar ] [ arc ] [ arg ] [ argument ] [ as ] [ at ] [ av ] [ b ] [ ba ] [ base ] [ ca ] [ canonical ] [ case ] [ ch ] [ ck ] [ co ] [ con ] [ cu ] [ de ] [ du ] [ ec ] [ ed ] [ edu ] [ ee ] [ er ] [ era ] [ es ] [ et ] [ fact ] [ factor ] [ factorial ] [ fi ] [ file ] [ fo ] [ for ] [ forms ] [ Fun ] [ function ] [ ge ] [ gr ] [ group ] [ gu ] [ h ] [ hr ] [ id ] [ il ] [ in ] [ io ] [ ir ] [ is ] [ IT ] [ ITeration ] [ J ] [ Jargon File ] [ la ] [ language ] [ ld ] [ Lex ] [ li ] [ ls ] [ lu ] [ ly ] [ ma ] [ mm ] [ mo ] [ mod ] [ module ] [ mp ] [ ms ] [ mu ] [ mutually recursive ] [ na ] [ nc ] [ ne ] [ ng ] [ ni ] [ no ] [ ns ] [ om ] [ pe ] [ perf ] [ ph ] [ pl ] [ pr ] [ procedural language ] [ procedure ] [ program ] [ programming ] [ programming language ] [ query ] [ rc ] [ re ] [ recursive ] [ recursive definITion ] [ ro ] [ S ] [ se ] [ si ] [ so ] [ st ] [ su ] [ T ] [ tail recursion ] [ test ] [ th ] [ to ] [ ua ] [ um ] [ up ] [ us ] [ va ] [ value ] [ ve ] [ vi ]






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (6172 Reads)

All logos and trademarks in this site are property of their respective owner.

Page Generation in 0.096 Seconds, with 17 Database-Queries
Zurück zur Startseite