Skip to content

Latest commit

 

History

History
11 lines (11 loc) · 787 Bytes

File metadata and controls

11 lines (11 loc) · 787 Bytes

PenguinMod Iterators Extension

An extension that adds iterators to PenguinMod

To do:

  • Make iterators use generators so lambdas can be properly executed
  • Fix freezing when iterators take too long to terminate/collect
  • Add Block and Argument to divIterator (using jwArray as reference)
  • Add handling for improper input (e.g if a block is called with no input if it should be casted, if not what to do)
  • Clean the code a bit if possible (might still need some more)
  • Add documentation
  • Create some kind of "iterable" interface for custom types (iterate over and collect to could be made type-generic!)
  • Add a block for defining custom iterators (Possibly generator style?) Nope, custom iterators use explicit state and a next method now