Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Releases: katsaii/gml-prelude

Patch 1.3.2

17 Dec 15:19
Compare
Choose a tag to compare

This patch fixes an issue with the ListReader struct not being a valid constructor.

Monadical

20 May 22:21
Compare
Choose a tag to compare

This release brings monad-like behaviour, including three monad operations. The most important of these is bind, which gives you the ability to apply a function to (most) values, whilst maintaining any error values such as undefined or [].

Read more about this in the examples section on monads.

Patch 1.2.1

11 May 00:40
Compare
Choose a tag to compare

This release brings refactors and additions to iterators and removes indexable iterators, since they were not as useful as I had hoped they would be.

  • Renamed append to extend
  • The drop and take operations are now lazy
  • Added nth method.
  • Removed seek, nudge, reset, and location methods.

Readers and Indices

07 May 01:40
Compare
Choose a tag to compare

This release brings significant changes to iterators, and the inclusion of more primitive "reader" structs for common data structures. The most important change is the ability to create indexable iterators by including an implementation of the __seek__ method.

  • Made naming more consistent
  • Updated documentation
  • Renamed iterator_range to just range
  • Packaged documentation into zip

Iterators and Curry

03 May 19:47
Compare
Choose a tag to compare

This release brings improvements to iterators and partial application.

Reduced the amount of global scope pollution from commonly named functions.

Initial Release

28 Apr 23:04
Compare
Choose a tag to compare

The initial release of my functional programming library ready for the incoming changes to GML.

Main features:

  • Currying functions
  • Iterators
  • Usability scripts for higher-order functions and array/struct modification