encyclopegia.org

Mutual recursion

In mathematics and computer science, mutual recursion is a form of recursion where two or more mathematical or computational objects, such as functions or datatypes, are defined in terms of each other. Mutual recursion is very common in functional programming and in some problem domains, such as recursive descent parsers, where the datatypes are naturally mutually recursive.

In mathematics and computer science, mutual recursion is a form of recursion where two or more mathematical or computational objects, such as functions or datatypes, are defined in terms of each other. Mutual recursion is very common in functional programming and in some problem domains, such as recursive descent parsers, where the datatypes are naturally mutually recursive. ==Examples== ===Datatypes=== The most important basic example of a datatype that can be defined by mutual recursion is a tree, which can be defined mutually recursively in terms of a forest (a list of trees). Symbolically: f: [t[1], ..., t[k t: v f A forest f consists of a list of trees, while a tree t consists of a pair of a value v and a forest f (its children). This definition is elegant and easy to work with abstractly (such as when proving theorems about properties of trees), as it expresses a tree in simple terms: a list of one type, and a pair of two types. Further, it matches many algorithms on trees, which consist of doing one thing with the value, and another thing with the children. This mutually recursive definition can be converted to a singly recursive definition by inlining the definition of a forest: t: v [t[1], ..., t[k A tree t consists of a pair of a value v and a list of trees (its children). This definition is more compact, but somewhat messier: a tree consists of a pair of one type and a list of another, which require disentangling to prove results about. In Standard ML, the tree and forest datatypes can be mutually recursively defined as follows, allowing empty trees: datatype 'a tree = Empty | Node of 'a * 'a forest and 'a forest = Nil | Cons of 'a tree * 'a forest ===Computer functions=== Just as algorithms on recursive datatypes can naturally be given by recursive functions, algorithms on mutually recursive data structures can be naturally given by mutually recursive functions. Common examples include algorithms on trees, and recursive descent parsers. As with direct recursion, tail call optimization is necessary if the recursion depth is large or unbounded, such as using mutual recursion for multitasking. Note that tail call optimization in general (when the function called is not the same as the original function, as in tail-recursive calls) may be more difficult to implement than the special case of tail-recursive call optimization, and thus efficient implementation of mutual tail recursion may be absent from languages that only optimize tail-recursive calls. In languages such as Pascal that require declaration before use, mutually recursive functions require forward declaration, as a forward reference cannot be avoided when defining them. As with directly recursive functions, a wrapper function may be useful, with the mutually recursive functions defined as nested functions within its scope if this is supported. This is particularly useful for sharing state across a set of functions without having to pass parameters between them. ====Basic examples==== A standard example of mutual recursion, which is admittedly artificial, determines whether a non-negative number is even or odd by defining two separate functions that call each other, decrementing by 1 each time. In C: bool is_even(unsigned int n) { if (n == 0) { return true; } else { return is_odd(n - 1); } } bool is_odd(unsigned int n) { if (n == 0) { return false; } else { return is_even(n - 1); } } These functions are based on the observation that the question is 4 even? is equivalent to is 3 odd?, which is in turn equivalent to is 2 even?, and so on down to 0. This example is mutual single recursion, and could easily be replaced by iteration. In this example, the mutually recursive calls are tail calls, and tail call optimization would be necessary to execute in constant stack space. In C, this would take O(n) stack space, unless rewritten to use jumps instead of calls. This could be reduced to a single recursive function is_even . In that case, is_odd , which could be inlined, would call is_even , but is_even would only call itself. As a more general class of examples, an algorithm on a tree can be decomposed into its behavior on a value and its behavior on children, and can be split up into two mutually recursive functions, one specifying the behavior on a tree, calling the forest function for the forest of children, and one specifying the behavior on a forest, calling the tree function for the tree in the forest. In Python: def f_tree(tree: Tree) -> None: f_value(tree.value) f_forest(tree.children) def f_forest(forest: Forest) -> None: for tree in forest: f_tree(tree) In this case the tree function calls the forest function by single recursion, but the forest function calls the tree function by multiple recursion. Using the Standard ML datatype above, the size of a tree (number of nodes) can be computed via the following mutually recursive functions: fun size_tree Empty = 0 | size_tree (Node (_, f)) = 1 + size_forest f and size_forest Nil = 0 | size_forest (Cons (t, f')) = size_tree t + size_forest f' A more detailed example in Scheme, counting the leaves of a tree: (define (count-leaves tree) (if (leaf? tree) 1 (count-leaves-in-forest (children tree)))) (define (count-leaves-in-forest forest) (if (null? forest) 0 (+ (count-leaves (car forest)) (count-leaves-in-forest (cdr forest))))) These examples reduce easily to a single recursive function by inlining the forest function in the tree function, which is commonly done in practice: directly recursive functions that operate on trees sequentially process the value of the node and recurse on the children within one function, rather than dividing these into two separate functions. ====Advanced examples==== A more complicated example is given by recursive descent parsers, which can be naturally implemented by having one function for each production rule of a grammar, which then mutually recurse; this will in general be multiple recursion, as production rules generally combine multiple parts. This can also be done without mutual recursion, for example by still having separate functions for each production rule, but having them called by a single controller function, or by putting all the grammar in a single function. Mutual recursion can also implement a finite-state machine, with one function for each state, and single recursion in changing state; this requires tail call optimization if the number of state changes is large or unbounded. This can be used as a simple form of cooperative multitasking. A similar approach to multitasking is to instead use coroutines which call each other, where rather than terminating by calling another routine, one coroutine yields to another but does not terminate, and then resumes execution when it is yielded back to. This allows individual coroutines to hold state, without it needing to be passed by parameters or stored in shared variables. There are also some algorithms which naturally have two phases, such as minimax (min and max), which can be implemented by having each phase in a separate function with mutual recursion, though they can also be combined into a single function with direct recursion. ===Mathematical functions=== In mathematics, the Hofstadter Female and Male sequences are an example of a pair of integer sequences defined in a mutually recursive manner. Fractals can be computed (up to a given resolution) by recursive functions. This can sometimes be done more elegantly via mutually recursive functions; the Sierpiński curve is a good example. ==Prevalence== Mutual recursion is very common in functional programming, and is often used for programs written in LISP, Scheme, ML, and similar programming languages. For example, Abelson and Sussman describe how a meta-circular evaluator can be used to implement LISP with an eval-apply cycle. In languages such as Prolog, mutual recursion is almost unavoidable. Some programming styles discourage mutual recursion, claiming that it can be confusing to distinguish the conditions which will return an answer from the conditions that would allow the code to run forever without producing an answer. Peter Norvig points to a design pattern which discourages the use entirely, stating: ==Terminology== Mutual recursion is also known as indirect recursion, by contrast with direct recursion, where a single function calls itself directly. This is simply a difference of emphasis, not a different notion: "indirect recursion" emphasises an individual function, while "mutual recursion" emphasises the set of functions, and does not single out an individual function. For example, if f calls itself, that is direct recursion. If instead f calls g and then g calls f, which in turn calls g again, from the point of view of f alone, f is indirectly recursing, while from the point of view of g alone, g is indirectly recursing, while from the point of view of both, f and g are mutually recursing on each other. Similarly a set of three or more functions that call each other can be called a set of mutually recursive functions. ==Conversion to direct recursion== Mathematically, a set of mutually recursive functions are primitive recursive, which can be proven by course-of-values recursion, building a single function F that lists the values of the individual recursive function in order: F = f_1(0), f_2(0), f_1(1), f_2(1), \dots, and rewriting the mutual recursion as a primitive recursion. Simple mutual recursion between two procedures can be converted to direct recursion by inlining the code of one procedure into the other. If there is only one site where one procedure calls the other, this is straightforward; if there are several it can involve code duplication. In terms of the call stack, two mutually recursive procedures yield a stack ABABAB..., and inlining B into A yields the direct recursion (AB)(AB)(AB)... More generally, any number of procedures can be merged into a single procedure that takes as argument a variant record (or algebraic data type) representing the selection of a procedure and its arguments; the merged procedure then dispatches on its argument to execute the corresponding code and uses direct recursion to call self as appropriate. This can be seen as a limited application of defunctionalization. This translation may be useful when any of the mutually recursive procedures can be called by outside code, so there is no obvious case for inlining one procedure into the other. Such code then needs to be modified so that procedure calls are performed by bundling arguments into a variant record as described; alternately, wrapper procedures may be used for this task. ==See also== Cycle detection (graph theory) Recursion (computer science) Circular dependency ==References== ==External links== Mutual recursion at Rosetta Code

References

  1. Manuel Rubio-Sánchez, Jaime Urquiza-Fuentes, Cristóbal Pareja-Flores (2002), 'A Gentle Introduction to Mutual Recursion', Proceedings of the 13th annual conference on Innovation and technology in computer science education, June 30–July 2, 2008, Madrid, Spain. Wikipedia revision 1376513751, retrieved 2026-11-20 · retrieved 2026-11-19 · rev 1376513751
    Cite this reference

    MLA "Manuel Rubio-Sánchez, Jaime Urquiza-Fuentes, Cristóbal Pareja-Flores (2002), 'A Gentle Introduction to Mutual Recursion', Proceedings of the 13th annual conference on Innovation and technology in computer science education, June 30–July 2, 2008, Madrid, Spain. Wikipedia revision 1376513751, retrieved 2026-11-20." Manuel Rubio-Sánchez, Jaime Urquiza-Fuentes, Cristóbal Pareja-Flores (2002), 'A Gentle Introduction to Mutual Recursion'. 2026-11-19. https://en.wikipedia.org/w/index.php?oldid=1376513751. Accessed 24 November 2026.

    Chicago "Manuel Rubio-Sánchez, Jaime Urquiza-Fuentes, Cristóbal Pareja-Flores (2002), 'A Gentle Introduction to Mutual Recursion', Proceedings of the 13th annual conference on Innovation and technology in computer science education, June 30–July 2, 2008, Madrid, Spain. Wikipedia revision 1376513751, retrieved 2026-11-20." Manuel Rubio-Sánchez, Jaime Urquiza-Fuentes, Cristóbal Pareja-Flores (2002), 'A Gentle Introduction to Mutual Recursion'. 2026-11-19. https://en.wikipedia.org/w/index.php?oldid=1376513751.

    APA Manuel Rubio-Sánchez, Jaime Urquiza-Fuentes, Cristóbal Pareja-Flores (2002), 'A Gentle Introduction to Mutual Recursion'. (2026). Manuel Rubio-Sánchez, Jaime Urquiza-Fuentes, Cristóbal Pareja-Flores (2002), 'A Gentle Introduction to Mutual Recursion', Proceedings of the 13th annual conference on Innovation and technology in computer science education, June 30–July 2, 2008, Madrid, Spain. Wikipedia revision 1376513751, retrieved 2026-11-20. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1376513751

  2. Definitional Interpreters for Higher-Order Programming Languages · retrieved 2026-11-19 · rev 1376513751
    Cite this reference

    MLA "Definitional Interpreters for Higher-Order Programming Languages." Reynolds, John (August 1972). 2026-11-19. https://en.wikipedia.org/wiki/John_C._Reynolds. Accessed 24 November 2026.

    Chicago "Definitional Interpreters for Higher-Order Programming Languages." Reynolds, John (August 1972). 2026-11-19. https://en.wikipedia.org/wiki/John_C._Reynolds.

    APA Reynolds, John (August 1972). (2026). Definitional Interpreters for Higher-Order Programming Languages. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/John_C._Reynolds

  3. Mutual Tail-Recursion · retrieved 2026-11-19 · rev 1376513751
    Cite this reference

    MLA "Mutual Tail-Recursion." " Mutual Tail-Recursion " and " Tail-Recursive Functions ", A Tutorial on Programming Features in ATS , Hongwei Xi, 2010. 2026-11-19. https://www.cs.bu.edu/~hwxi/ATS/DOCUMENT/TUTORIALATS/HTML/c244.html. Accessed 24 November 2026.

    Chicago "Mutual Tail-Recursion." " Mutual Tail-Recursion " and " Tail-Recursive Functions ", A Tutorial on Programming Features in ATS , Hongwei Xi, 2010. 2026-11-19. https://www.cs.bu.edu/~hwxi/ATS/DOCUMENT/TUTORIALATS/HTML/c244.html.

    APA " Mutual Tail-Recursion " and " Tail-Recursive Functions ", A Tutorial on Programming Features in ATS , Hongwei Xi, 2010. (2026). Mutual Tail-Recursion. Retrieved November 24, 2026, from https://www.cs.bu.edu/~hwxi/ATS/DOCUMENT/TUTORIALATS/HTML/c244.html

  4. Abelson, Harold; Sussman, Gerald Jay; Sussman, Julie (1996). Structure and Interpretation of Computer Programs (PDF) . London, England: The MIT Press. p. 492. ISBN 978-0262510875 . Wikipedia revision 1376513751, retrieved 2026-11-20 · retrieved 2026-11-19 · rev 1376513751
    Cite this reference

    MLA "Abelson, Harold; Sussman, Gerald Jay; Sussman, Julie (1996). Structure and Interpretation of Computer Programs (PDF) . London, England: The MIT Press. p. 492. ISBN 978-0262510875 . Wikipedia revision 1376513751, retrieved 2026-11-20." Abelson, Harold; Sussman, Gerald Jay; Sussman, Julie (1996). 2026-11-19. https://web.mit.edu/alexmv/6.037/sicp.pdf. Accessed 24 November 2026.

    Chicago "Abelson, Harold; Sussman, Gerald Jay; Sussman, Julie (1996). Structure and Interpretation of Computer Programs (PDF) . London, England: The MIT Press. p. 492. ISBN 978-0262510875 . Wikipedia revision 1376513751, retrieved 2026-11-20." Abelson, Harold; Sussman, Gerald Jay; Sussman, Julie (1996). 2026-11-19. https://web.mit.edu/alexmv/6.037/sicp.pdf.

    APA Abelson, Harold; Sussman, Gerald Jay; Sussman, Julie (1996). (2026). Abelson, Harold; Sussman, Gerald Jay; Sussman, Julie (1996). Structure and Interpretation of Computer Programs (PDF) . London, England: The MIT Press. p. 492. ISBN 978-0262510875 . Wikipedia revision 1376513751, retrieved 2026-11-20. Retrieved November 24, 2026, from https://web.mit.edu/alexmv/6.037/sicp.pdf

  5. Solving Every Sudoku Puzzle Wikipedia revision 1376513751, retrieved 2026-11-20 · retrieved 2026-11-19 · rev 1376513751
    Cite this reference

    MLA "Solving Every Sudoku Puzzle Wikipedia revision 1376513751, retrieved 2026-11-20." 2026-11-19. https://norvig.com/sudoku.html. Accessed 24 November 2026.

    Chicago "Solving Every Sudoku Puzzle Wikipedia revision 1376513751, retrieved 2026-11-20." 2026-11-19. https://norvig.com/sudoku.html.

    APA encyclopegia.org. (2026). Solving Every Sudoku Puzzle Wikipedia revision 1376513751, retrieved 2026-11-20. Retrieved November 24, 2026, from https://norvig.com/sudoku.html

  6. On the Conversion of Indirect to Direct Recursion by Owen Kaser, C. R. Ramakrishnan, and Shaunak Pawagi at State University of New York, Stony Brook (1993) Wikipedia revision 1376513751, retrieved 2026-11-20 · retrieved 2026-11-19 · rev 1376513751
    Cite this reference

    MLA "On the Conversion of Indirect to Direct Recursion by Owen Kaser, C. R. Ramakrishnan, and Shaunak Pawagi at State University of New York, Stony Brook (1993) Wikipedia revision 1376513751, retrieved 2026-11-20." On the Conversion of Indirect to Direct Recursion by Owen Kaser, C. 2026-11-19. https://delivery.acm.org/10.1145/180000/176510/p151-kaser.pdf?key1=176510&key2=1857140721&coll=GUIDE&dl=GUIDE&CFID=82873082&CFTOKEN=54657523. Accessed 24 November 2026.

    Chicago "On the Conversion of Indirect to Direct Recursion by Owen Kaser, C. R. Ramakrishnan, and Shaunak Pawagi at State University of New York, Stony Brook (1993) Wikipedia revision 1376513751, retrieved 2026-11-20." On the Conversion of Indirect to Direct Recursion by Owen Kaser, C. 2026-11-19. https://delivery.acm.org/10.1145/180000/176510/p151-kaser.pdf?key1=176510&key2=1857140721&coll=GUIDE&dl=GUIDE&CFID=82873082&CFTOKEN=54657523.

    APA On the Conversion of Indirect to Direct Recursion by Owen Kaser, C. (2026). On the Conversion of Indirect to Direct Recursion by Owen Kaser, C. R. Ramakrishnan, and Shaunak Pawagi at State University of New York, Stony Brook (1993) Wikipedia revision 1376513751, retrieved 2026-11-20. Retrieved November 24, 2026, from https://delivery.acm.org/10.1145/180000/176510/p151-kaser.pdf?key1=176510&key2=1857140721&coll=GUIDE&dl=GUIDE&CFID=82873082&CFTOKEN=54657523

  7. Datatypes · retrieved 2026-11-19 · rev 1376513751
    Cite this reference

    MLA "Datatypes." Harper 2000 , " Datatypes ". 2026-11-19. https://www.cs.cmu.edu/~rwh/introsml/core/datatypes.htm. Accessed 24 November 2026.

    Chicago "Datatypes." Harper 2000 , " Datatypes ". 2026-11-19. https://www.cs.cmu.edu/~rwh/introsml/core/datatypes.htm.

    APA Harper 2000 , " Datatypes ". (2026). Datatypes. Retrieved November 24, 2026, from https://www.cs.cmu.edu/~rwh/introsml/core/datatypes.htm

  8. Date Types · retrieved 2026-11-19 · rev 1376513751
    Cite this reference

    MLA "Date Types." Harper 2000 , " Date Types ". 2026-11-19. https://www.cs.cmu.edu/~rwh/introsml/core/datatypes.htm. Accessed 24 November 2026.

    Chicago "Date Types." Harper 2000 , " Date Types ". 2026-11-19. https://www.cs.cmu.edu/~rwh/introsml/core/datatypes.htm.

    APA Harper 2000 , " Date Types ". (2026). Date Types. Retrieved November 24, 2026, from https://www.cs.cmu.edu/~rwh/introsml/core/datatypes.htm

  9. Harvey & Wright 1999 , V. Abstraction: 18. Trees: Mutual Recursion, pp. 310–313 . Wikipedia revision 1376513751, retrieved 2026-11-20 · retrieved 2026-11-19 · rev 1376513751
    Cite this reference

    MLA "Harvey & Wright 1999 , V. Abstraction: 18. Trees: Mutual Recursion, pp. 310–313 . Wikipedia revision 1376513751, retrieved 2026-11-20." Harvey & Wright 1999 , V. 2026-11-19. https://books.google.com/books?id=igJRhp0KGn8C&pg=PA310&dq=%22mutual%20recursion%22. Accessed 24 November 2026.

    Chicago "Harvey & Wright 1999 , V. Abstraction: 18. Trees: Mutual Recursion, pp. 310–313 . Wikipedia revision 1376513751, retrieved 2026-11-20." Harvey & Wright 1999 , V. 2026-11-19. https://books.google.com/books?id=igJRhp0KGn8C&pg=PA310&dq=%22mutual%20recursion%22.

    APA Harvey & Wright 1999 , V. (2026). Harvey & Wright 1999 , V. Abstraction: 18. Trees: Mutual Recursion, pp. 310–313 . Wikipedia revision 1376513751, retrieved 2026-11-20. Retrieved November 24, 2026, from https://books.google.com/books?id=igJRhp0KGn8C&pg=PA310&dq=%22mutual%20recursion%22

  10. Hutton 2007 , 6.5 Mutual recursion, pp. 53–55 . Wikipedia revision 1376513751, retrieved 2026-11-20 · retrieved 2026-11-19 · rev 1376513751
    Cite this reference

    MLA "Hutton 2007 , 6.5 Mutual recursion, pp. 53–55 . Wikipedia revision 1376513751, retrieved 2026-11-20." Hutton 2007 , 6. 2026-11-19. https://books.google.com/books?id=olp7lAtpRX0C&pg=PA53&dq=%22mutual+recursion%22. Accessed 24 November 2026.

    Chicago "Hutton 2007 , 6.5 Mutual recursion, pp. 53–55 . Wikipedia revision 1376513751, retrieved 2026-11-20." Hutton 2007 , 6. 2026-11-19. https://books.google.com/books?id=olp7lAtpRX0C&pg=PA53&dq=%22mutual+recursion%22.

    APA Hutton 2007 , 6. (2026). Hutton 2007 , 6.5 Mutual recursion, pp. 53–55 . Wikipedia revision 1376513751, retrieved 2026-11-20. Retrieved November 24, 2026, from https://books.google.com/books?id=olp7lAtpRX0C&pg=PA53&dq=%22mutual+recursion%22

  11. [https://www.cs.bu.edu/~hwxi/ATS/DOCUMENT/TUTORIALATS/HTML/c244.html Mutual Tail-Recursion] · retrieved 2026-09-23 · rev 1376513751
    Cite this reference

    MLA "[https://www.cs.bu.edu/~hwxi/ATS/DOCUMENT/TUTORIALATS/HTML/c244.html Mutual Tail-Recursion]." "[https://www. 2026-09-23. https://en.wikipedia.org/w/index.php?oldid=1376513751. Accessed 24 November 2026.

    Chicago "[https://www.cs.bu.edu/~hwxi/ATS/DOCUMENT/TUTORIALATS/HTML/c244.html Mutual Tail-Recursion]." "[https://www. 2026-09-23. https://en.wikipedia.org/w/index.php?oldid=1376513751.

    APA "[https://www. (2026). [https://www.cs.bu.edu/~hwxi/ATS/DOCUMENT/TUTORIALATS/HTML/c244.html Mutual Tail-Recursion]. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1376513751

  12. Structure and Interpretation of Computer Programs . · retrieved 2026-09-23 · rev 1376513751
    Cite this reference

    MLA "Structure and Interpretation of Computer Programs ." 2026-09-23. https://en.wikipedia.org/w/index.php?oldid=1376513751. Accessed 24 November 2026.

    Chicago "Structure and Interpretation of Computer Programs ." 2026-09-23. https://en.wikipedia.org/w/index.php?oldid=1376513751.

    APA encyclopegia.org. (2026). Structure and Interpretation of Computer Programs . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1376513751

  13. [https://norvig.com/sudoku.html Solving Every Sudoku Puzzle] . · retrieved 2026-09-23 · rev 1376513751
    Cite this reference

    MLA "[https://norvig.com/sudoku.html Solving Every Sudoku Puzzle] ." https://norvig. 2026-09-23. https://en.wikipedia.org/w/index.php?oldid=1376513751. Accessed 24 November 2026.

    Chicago "[https://norvig.com/sudoku.html Solving Every Sudoku Puzzle] ." https://norvig. 2026-09-23. https://en.wikipedia.org/w/index.php?oldid=1376513751.

    APA https://norvig. (2026). [https://norvig.com/sudoku.html Solving Every Sudoku Puzzle] . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1376513751

  14. [https://delivery.acm.org/10.1145/180000/176510/p151-kaser.pdf?key1=176510&key2=1857140721&coll=GUIDE&dl=GUIDE&CFID=82873082&CFTOKEN=54657523 On the Conversion of Indirect to Direct Recursion] by Owen . · retrieved 2026-09-23 · rev 1376513751
    Cite this reference

    MLA "[https://delivery.acm.org/10.1145/180000/176510/p151-kaser.pdf?key1=176510&key2=1857140721&coll=GUIDE&dl=GUIDE&CFID=82873082&CFTOKEN=54657523 On the Conversion of Indirect to Direct Recursion] by Owen ." https://delivery. 2026-09-23. https://en.wikipedia.org/w/index.php?oldid=1376513751. Accessed 24 November 2026.

    Chicago "[https://delivery.acm.org/10.1145/180000/176510/p151-kaser.pdf?key1=176510&key2=1857140721&coll=GUIDE&dl=GUIDE&CFID=82873082&CFTOKEN=54657523 On the Conversion of Indirect to Direct Recursion] by Owen ." https://delivery. 2026-09-23. https://en.wikipedia.org/w/index.php?oldid=1376513751.

    APA https://delivery. (2026). [https://delivery.acm.org/10.1145/180000/176510/p151-kaser.pdf?key1=176510&key2=1857140721&coll=GUIDE&dl=GUIDE&CFID=82873082&CFTOKEN=54657523 On the Conversion of Indirect to Direct Recursion] by Owen . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1376513751

  15. Reynolds, John. Definitional Interpreters for Higher-Order Programming Languages . · retrieved 2026-09-23 · rev 1376513751
    Cite this reference

    MLA "Reynolds, John. Definitional Interpreters for Higher-Order Programming Languages ." Reynolds, John. 2026-09-23. https://en.wikipedia.org/w/index.php?oldid=1376513751. Accessed 24 November 2026.

    Chicago "Reynolds, John. Definitional Interpreters for Higher-Order Programming Languages ." Reynolds, John. 2026-09-23. https://en.wikipedia.org/w/index.php?oldid=1376513751.

    APA Reynolds, John. (2026). Reynolds, John. Definitional Interpreters for Higher-Order Programming Languages . Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1376513751

Cite this article

MLA

"Mutual recursion." encyclopegia.org, 2026, https://encyclopegia.org/wiki/mutual-recursion. Accessed 24 November 2026.

Chicago

"Mutual recursion." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/mutual-recursion.

APA

encyclopegia.org. (2026). Mutual recursion. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/mutual-recursion

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

US–UK Mutual Defence Agreement

stub · references available

mutual insurance

stub · references available

mutual organization

stub · references available

Mutual Friends

stub · references available

Mutual Defense Assistance Act

stub · references available

Mutual Consent

stub · references available

Mutual Building

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1376513751 · 0.5 · snapshot enwiki-001376513751

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.