yjtools 0.9.16 → 0.9.17
raw patch · 2 files changed
+10/−2 lines, 2 files
Files
- Data/Function/Tools.hs +9/−1
- yjtools.cabal +1/−1
Data/Function/Tools.hs view
@@ -1,5 +1,7 @@ module Data.Function.Tools (- const2+ curry3+, uncurry3+, const2 , const3 , applyWhen , applyUnless@@ -9,6 +11,12 @@ {- import Control.Arrow ((&&&)) -}++curry3 :: ((a, b, c) -> d) -> a -> b -> c -> d+curry3 f x y z = f (x, y, z)++uncurry3 :: (a -> b -> c -> d) -> (a, b, c) -> d+uncurry3 f (x, y, z) = f x y z const2 :: a -> b -> c -> a const2 = const . const
yjtools.cabal view
@@ -1,5 +1,5 @@ Name: yjtools-Version: 0.9.16+Version: 0.9.17 Cabal-Version: >= 1.2 Build-Type: Simple License: LGPL