This commit is contained in:
Michael Fogleman 2017-09-21 13:29:34 -04:00
parent e33a84aaf7
commit 25efdf1741

View file

@ -1,5 +1,14 @@
Specter is useful for navigating through nested data structures, and then returning (selecting) or transforming what it finds. Specter can also work its magic **recursively**. Many of Specter's most important and powerful use cases in your codebase will require you to use Specter's recursive features. However, just as recursion can be difficult to grok at first, using Specter recursively can be challenging. This guide is designed to help you feel at home using Specter recursively.
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
**Table of Contents**
- [A Review of Recursion](#a-review-of-recursion)
- [Using Specter Recursively](#using-specter-recursively)
- [Applications](#applications)
<!-- markdown-toc end -->
# A Review of Recursion
Most simple functions do not call themselves. For example: