auto v0.4.1.0 Release Notes
Release Date: 2015-04-06 // about 9 years ago-
🚀 https://github.com/mstksg/auto/releases/tag/v0.4.1.0
- Adapted to more consistent semantic versioning scheme, where the third number is a new update, and the fourth number is reserved for bug fixes.
Control.Auto.Blip:
foldrB
andfoldlB'
officially deprecated in their current forms. From version0.5
, they will have corrected functionality and a new type signature. The current functionality doesn't really make sense, and was a mistake during their implementation. You can begin using the new versions now, with:foldrB = foldr (merge f) mempty foldlB' = foldl' (merge f) mempty
Control.Auto.Effects: New "sealing" mechanisms for underlying
Reader
:sealReaderMVar
andsealReaderM
.sealReaderMVar
allows things like "hot swapping" configuration data; at every step, theAuto
asks for its environment from anMVar
, that could be changed/modified from a different thread with new configuration data.sealReaderM
is a more general/potentially dangerous version where the environment is retrieved through an arbitrary action in the underlying monad.Control.Auto.Run: New powerful combinator
throughT
, letting you "lift" anAuto
to run over/through anyTraversable
. Can replaceduring
,perBlip
,accelOverList
, etc. The specialized versions will remain more performant, though.Control.Auto.Run: In the spirit of the hip and current Foldable Traversable Proposal,
overTraversable
added to complementoverList
, so you can now "stream"Auto
s overIntMap
s,Maybe
s,Const
s...or anyTraversable
. Not replacingoverList
completely, though, for performance reasons.Control.Auto.Blip: Removed unnecessary
Monad
constraints onbecame_
,became'
,noLonger_
, andnoLonger'
.Control.Auto.Interval: Bug fix on
holdFor
andholdFor_
, where they had the potential to overflowInt
and begin "holding" forever when given specifically malformed input.Control.Auto.Time: Performance boost on
accelOverList
by using strictWriter
over lazy.