FenderLang / Fender

A functional scripting language, intended for string manipulation and general scripting on the command line
MIT License
13 stars 0 forks source link

Add iterator type #48

Closed boxbeam closed 1 year ago

boxbeam commented 1 year ago

Will hold two Box<dyn FnMut(&mut ExecutionContext) -> FenderReference> - one for next() and one for hasNext(). This should be accompanied by two standard library functions with those names, and probably an iterator function as well to construct iterator instances using supplied closures.