composition 1.0.2.2 → 2.0
raw patch · 3 files changed
+8/−14 lines, 3 filesdep +basePVP ok
version bump matches the API change (PVP)
Dependencies added: base
API changes (from Hackage documentation)
Files
- LICENSE +1/−1
- composition.cabal +6/−6
- src/Data/Composition.hs +1/−7
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2011-2012, Dan Burton+Copyright (c) 2011-2026, Dan Burton All rights reserved.
composition.cabal view
@@ -1,6 +1,10 @@ name: composition-version: 1.0.2.2+version: 2.0 synopsis: Combinators for unorthodox function composition+description:+ Just a silly library for composing functions.+ If anyone takes this package seriously,+ please explain to me why. license: BSD3 license-file: LICENSE@@ -17,8 +21,4 @@ default-language: Haskell2010 hs-source-dirs: src exposed-modules: Data.Composition- default-extensions: NoImplicitPrelude--source-repository head- type: git- location: git://github.com/DanBurton/composition.git+ build-depends: base >=0 && < 9
src/Data/Composition.hs view
@@ -2,8 +2,6 @@ -- more than it is for providing actual value. -- I do not recommend that you rely on this module -- for performance-sensitive code.--- Because this module is not based on Prelude's (.),--- some chances at optimization might be missed by your compiler. module Data.Composition ( -- * Math (∘)@@ -41,11 +39,7 @@ ) where --- Not exported. This is defined here to remove the dependency on base-(.) :: (b -> c) -> (a -> b) -> a -> c-(f . g) x = f (g x)--infixr 9 .+import Prelude ((.)) -- | The mathematical symbol for function composition. (∘) :: (b -> c) -> (a -> b) -> a -> c