1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-06 10:33:03 +00:00

Allow calling next on abstracts.

This will allow the creation of infinte
streams, low cost generators, etc.
This commit is contained in:
Calvin Rose
2020-01-18 18:09:20 -06:00
parent 51678c1aba
commit f4077b678a
10 changed files with 20 additions and 3 deletions

View File

@@ -427,6 +427,7 @@ static const JanetAbstractType type_wrap = {
NULL,
NULL,
NULL,
NULL,
NULL
};