gm-stream provides a series of fluent APIs that can aid in performing powerful logic on data structures. gm-stream is heavily based on the concept of Streams from the Java programming language, although it has been adapted to suit GameMaker Language.
stack using the
stream_of method, and a wide variety of operations are possible from there!
var myArray = ["A", "B", "B", "C"];
var uniqueList = stream_of(myArray)
Full detailed documentation can be found on the GitHub page: https://github.com/daikon-games/gm-stream
gm-stream is free and open-source! gm-stream is licensed under Creative Commons BY 4.0. Basically, feel free to use it, change it, share it, as long as you credit me! Thank you.
This minor release fixes a crash when trying to sort empty or singleton streams