backprop v0.2.3.0 Release Notes

Release Date: 2018-05-25 // almost 6 years ago
  • May 25, 2018

    🚀 https://github.com/mstksg/backprop/releases/tag/v0.2.3.0

    • Argument order in backpropWith family of functions switched around to allow for final gradient to be given after-the-fact. Breaking change for anyone using any backpropWith function.
    • As a consequence of the previous change, backprop family of functions in Explicit interfaces also all changed argument order. Breaking change only for those using the Explicit interfaces.
    • Explicit collectVar no longer needs a ZeroFunc for the container, and so all versions of collectVar and functions that use it (fmap, liftA2, liftA3, traverse, mapAccumL, mapAccumR) no longer require Backprop or Num instances for the final returned container type. This enables a lot more flexibility in container types. Breaking change only for those using the Explicit interfaces.
    • BV pattern synonym added to Numeric.Backprop, abstracting over application of splitBV and joinBV.
    • foldr and foldl' added to Prelude modules, for convenience.
    • round and fromIntegral' ("unround") added to Prelude modules.