OnlineWoerterBuecher.de
Internes

Lexikon


tail recursion


When the last thing a function (or procedure) does is to call itself. Such a function is called tail recursive. A function may make several recursive calls but a call is only tail-recursive if the caller returns immediately after it. E.g. f n = if n < 2 then 1 else f (f (n-2) + 1) Here the both calls to fib are recursive but only the outer one is tail recursive. See tail recursion optimisation, and, if you aren' t sick of them already, recursion, tail recursion. [Jargon File] (1996-02-22)

In addition suitable contents:
[ 2 ] [ = ] [ ad ] [ af ] [ ai ] [ al ] [ am ] [ an ] [ ar ] [ arc ] [ arg ] [ as ] [ at ] [ b ] [ bo ] [ bot ] [ ca ] [ ch ] [ ck ] [ cu ] [ do ] [ du ] [ E ] [ ec ] [ ed ] [ edu ] [ ee ] [ er ] [ era ] [ es ] [ et ] [ fi ] [ file ] [ function ] [ gr ] [ h ] [ hing ] [ hr ] [ id ] [ il ] [ in ] [ io ] [ is ] [ it ] [ J ] [ Jargon File ] [ ke ] [ la ] [ Lex ] [ lr ] [ ls ] [ ly ] [ ma ] [ mm ] [ mo ] [ mod ] [ module ] [ na ] [ nc ] [ ne ] [ ng ] [ nl ] [ ns ] [ op ] [ ph ] [ pr ] [ procedure ] [ program ] [ programming ] [ pt ] [ query ] [ rc ] [ re ] [ recursion ] [ recursive ] [ ro ] [ S ] [ sa ] [ se ] [ si ] [ st ] [ tail recursion optimisation ] [ th ] [ to ] [ ve ]






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (2925 Reads)

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

Page Generation in 0.0948 Seconds, with 16 Database-Queries
Zurück zur Startseite