compose-ltr 0.1.2 → 0.1.3
raw patch · 3 files changed
+4/−1 lines, 3 files
Files
- compose-ltr.cabal +1/−1
- spec/Spec.hs +1/−0
- src/Data/Function/Compose/LeftToRight.hs +2/−0
compose-ltr.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: compose-ltr-version: 0.1.2+version: 0.1.3 synopsis: More intuitive, left-to-right function composition. description: More intuitive, left-to-right function composition. -- description:
spec/Spec.hs view
@@ -3,6 +3,7 @@ import Test.QuickCheck.Function -- import Data.Function.Compose.LeftToRight import ComposeLTR+import Prelude hiding ((<$)) prop1 f g = (f $ g) == (g $> f) prop2 f g = ((g . f) 1) == (1 $> (f .> g))
src/Data/Function/Compose/LeftToRight.hs view
@@ -1,5 +1,7 @@ module Data.Function.Compose.LeftToRight (($>), (.>), (<$), (<.)) where +import Prelude hiding ((<$))+ (.>) = flip (.) infixl 9 .>