Skip to content

v0.28.0

Compare
Choose a tag to compare
@andywhite37 andywhite37 released this 17 Sep 05:04

✨ New

  • Closed #151 - added a bunch of Int and Float math helper functions and typeclasses instances
    • Int: zero, one, add, subtract, multiply, divide, modulo, divideWithModulo, divideAsFloat, top, bottom, degree, Bounded instance, EuclideanRing instance
    • Float: mostly the same as Int
  • Closed #164 - added various tap functions for performing side effects for some of the modules that operate on variant types
    • Option - tap, tapSome (alias for tap), tapNone, bitap
    • AsyncData - tap functions for various combinations of values
    • AsyncResult - tap functions for various combinations of values
    • Ior - tap functions for various combinations of values

🐛 Bug fixes

  • Closed #101 - Unhandled promise rejection warnings - @mlms13 found the fix for the unhandled rejection warnings - the problem was that we were returning the failed promise value from the catch. Instead, we now return a Js.Promise.resolved unit value in the success and failure handlers, after calling the onDone callback for the IO.
  • @esbullington - fixed a typo with AsyncResult.toIdle pointing at AsyncData.toBusy rather than AsyncData.toIdle