elerea 1.2.0 → 1.2.1
raw patch · 3 files changed
+7/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGES +3/−0
- FRP/Elerea/Experimental.hs +3/−2
- elerea.cabal +1/−1
CHANGES view
@@ -1,3 +1,6 @@+1.2.1 - 091204+* modified the &&@ and ||@ operators to short-circuit+ 1.2.0 - 091202 * added the delayed version to the experimental branch * renamed storeJust to (-->) in the experimental branch
FRP/Elerea/Experimental.hs view
@@ -104,9 +104,10 @@ {-| Point-wise OR of two boolean signals. -} (||@) :: Signal p Bool -> Signal p Bool -> Signal p Bool-(||@) = liftA2 (||)+s1 ||@ s2 = s1 >>= \b -> if b then return True else s2 {-| Point-wise AND of two boolean signals. -} (&&@) :: Signal p Bool -> Signal p Bool -> Signal p Bool-(&&@) = liftA2 (&&)+s1 &&@ s2 = s1 >>= \b -> if b then s2 else return False+
elerea.cabal view
@@ -1,5 +1,5 @@ Name: elerea-Version: 1.2.0+Version: 1.2.1 Cabal-Version: >= 1.2 Synopsis: A minimalistic FRP library Category: reactivity, FRP