acme-operators 0.1.0.0 → 0.2.0.0
raw patch · 2 files changed
+12/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Acme.Operators.Base: (*) :: Num a => a -> a -> a
+ Acme.Operators.Base: (**) :: Floating a => a -> a -> a
+ Acme.Operators.Base: (+) :: Num a => a -> a -> a
+ Acme.Operators.Base: (-) :: Num a => a -> a -> a
+ Acme.Operators.Base: (/) :: Fractional a => a -> a -> a
+ Acme.Operators.Base: (^) :: (Num a, Integral b) => a -> b -> a
+ Acme.Operators.Base: (^^) :: (Fractional a, Integral b) => a -> b -> a
Files
- acme-operators.cabal +1/−1
- src/Acme/Operators/Base.hs +11/−0
acme-operators.cabal view
@@ -3,7 +3,7 @@ -- see: https://github.com/sol/hpack name: acme-operators-version: 0.1.0.0+version: 0.2.0.0 synopsis: Operators of base, all in one place! description: Have you ever been wondering about some magic lookin operator. Here are all operators in base package. Not so many. category: Documentation
src/Acme/Operators/Base.hs view
@@ -77,6 +77,15 @@ (++), (!!), (\\),+ -- * Numeric+ (+),+ (*),+ (-),+ (/),+ -- ** Expontentials+ (^),+ (^^),+ (**), -- * Type level trickery -- ** Data.Type.Equality (:~:),@@ -109,6 +118,8 @@ x <- m let z = f x z `seq` return z++infixl 1 & -- | '&' is a reverse application operator. This provides notational -- convenience. Its precedence is one higher than that of the forward