From f5fd3c1a682522d0e0dfdd5e9ba8f94858074297 Mon Sep 17 00:00:00 2001 From: Nathan Marz Date: Thu, 8 Sep 2016 08:05:43 -0400 Subject: [PATCH] Updated Specter's inline caching implementation (markdown) --- Specter's-inline-caching-implementation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Specter's-inline-caching-implementation.md b/Specter's-inline-caching-implementation.md index ce5c9f5..b1096cf 100644 --- a/Specter's-inline-caching-implementation.md +++ b/Specter's-inline-caching-implementation.md @@ -72,9 +72,9 @@ The last example shows what Specter does when it has a local variable in the pos The same thing works for dynamic var references and special forms: ```clojure -[*a-dynamic-var*] => (coerce-nav *a-dynamic-*var) +[*a-dynamic-var*] => (coerce-nav *a-dynamic-var*) -[^:direct-nav *a-dynamic-var*] => *a-dynamic-*var +[^:direct-nav *a-dynamic-var*] => *a-dynamic-var* [:a (if c (keypath a) STAY)] => (comp-navs (coerce-nav (if c (keypath a) STAY))) @@ -83,7 +83,7 @@ The same thing works for dynamic var references and special forms: ## Dynamic navigators -There are two more additional use cases that Specter must handle, both of which are illustated by the `selected?` navigator. Consider these two uses of `selected?`: +There are two more additional use cases that Specter must handle, both of which are illustrated by the `selected?` navigator. Consider these two uses of `selected?`: ```clojure (selected? (keypath a) even?)