diff options
author | Eduardo Julian | 2022-03-30 14:05:57 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-03-30 14:05:57 -0400 |
commit | 381ec5920d9ebeb335963778dec182268819e718 (patch) | |
tree | 5c9288c5fbb16c21a0f00f96710b0aa7db4585f4 /stdlib/source/library/lux/type/abstract.lux | |
parent | 1a962ee4b03f51f46a5979bfefc954f35ee3a1b7 (diff) |
Now demanding mandatory loop names, instead of using default "again" name.
Diffstat (limited to 'stdlib/source/library/lux/type/abstract.lux')
-rw-r--r-- | stdlib/source/library/lux/type/abstract.lux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/library/lux/type/abstract.lux b/stdlib/source/library/lux/type/abstract.lux index e5eecf50b..7b8290f11 100644 --- a/stdlib/source/library/lux/type/abstract.lux +++ b/stdlib/source/library/lux/type/abstract.lux @@ -48,7 +48,7 @@ {.#End}) (template: (!peek <source> <reference> <then>) - [(loop [entries <source>] + [(loop (again [entries <source>]) (case entries {.#Item [head_name head] tail} (if (text#= <reference> head_name) @@ -106,7 +106,7 @@ (..peek! {.#Some name})) (template: (!push <source> <reference> <then>) - [(loop [entries <source>] + [(loop (again [entries <source>]) (case entries {.#Item [head_name head] tail} (if (text#= <reference> head_name) |