diff options
-rw-r--r-- | lib.c | 2 | ||||
-rw-r--r-- | txr.1 | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -3014,7 +3014,7 @@ static val sub_iter(val obj, val from, val to) if (!to) { do { if (ge(idx, from)) - return iter_dynamic(&iter); + return list_seq(iter_dynamic(&iter)); idx = succ(idx); } while (seq_get(&iter, &elem)); } else { @@ -34701,14 +34701,14 @@ argument may also be any other object type that is suitable as input to the .code iter-begin function. In this situation, assigning to .code sub -syntax produces an error. The behavior is complex. In cases where the +syntax produces an error. Furthermore, in cases where the .meta from and .meta to arguments imply that a suffix of .meta sequence -is required, an iterator may be returned which traverses the suffix -of the sequence. In other cases, a list of the elements selected by +is required, an lazy list of the suffix of the iterated sequence +will be returned. In other cases, a regular list of the elements selected by .code sub is returned. |