====== Recursion ====== {{tag>recursion}} ===== Description ===== Example of recursion in Prolog **Source**: Learn prolog now! (course available on-line) ===== Download ===== Program source code: {{recursion.pl}} ===== Listing ===== numeral(0). numeral(succ(X)):-numeral(X). ===== Comments =====