--
You received this message because you are subscribed to the Google Groups "Everything List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to everything-li...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/everything-list/f547910f-4e56-45a1-b7ff-eaa05b7f2f30o%40googlegroups.com.
As first shown by Meyer and Ritchie (1967), do-loops (which have a fixed iteration limit) are a special case of while-loops. A function that can be implemented using only do-loops is called primitive recursive. (In contrast, a computable function can be coded using a combination of for- and while-loops, or while-loops only.) Examples of primitive recursive functions include power, greatest common divisor, and
(the function giving the
th prime).
The Ackermann function is the simplest example of a well-defined total function that is computable but not primitive recursive, providing a counterexample to the belief in the early 1900s that every computable function was also primitive recursive.
code in various programming languages:
The Ackermann function is a classic example of a recursive function, notable especially because it is not a primitive recursive function.
https://rosettacode.org/wiki/Ackermann_function
What does "general recursion" mean? Is recursion in LISP not "general"?
Brent
On 6/10/2020 12:08 PM, Philip Thrift wrote:
--
We propose a full-spectrum dependently typed programming language, Zombie, which supports general recursion natively. ... Zombie also features an optional termination-checker, allowing nonterminating programs returning proofs as well as external proofs about programs.
Vilhelm Sjöberg - https://www.cs.yale.edu/homes/vilhelm/Stephanie Weirich - https://www.seas.upenn.edu/~sweirich/
@philipthrift
You received this message because you are subscribed to the Google Groups "Everything List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to everyth...@googlegroups.com.
On 11 Jun 2020, at 00:31, 'Brent Meeker' via Everything List <everyth...@googlegroups.com> wrote:What does "general recursion" mean? Is recursion in LISP not "general”?
To view this discussion on the web visit https://groups.google.com/d/msgid/everything-list/4cc42076-4927-b8da-e0e9-2f62d73a3676%40verizon.net.