Digit 0.0.1 → 0.0.2
raw patch · 2 files changed
+82/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Data.Digit: is0 :: Digit -> Bool
+ Data.Digit: is1 :: Digit -> Bool
+ Data.Digit: is2 :: Digit -> Bool
+ Data.Digit: is3 :: Digit -> Bool
+ Data.Digit: is4 :: Digit -> Bool
+ Data.Digit: is5 :: Digit -> Bool
+ Data.Digit: is6 :: Digit -> Bool
+ Data.Digit: is7 :: Digit -> Bool
+ Data.Digit: is8 :: Digit -> Bool
+ Data.Digit: is9 :: Digit -> Bool
Files
- Data/Digit.hs +81/−0
- Digit.cabal +1/−1
Data/Digit.hs view
@@ -14,6 +14,17 @@ , d7 , d8 , d9+-- * Decisions+, is0+, is1+, is2+, is3+, is4+, is5+, is6+, is7+, is8+, is9 -- * Deconstructors , foldDigit , if0@@ -275,6 +286,76 @@ t if9 _ f _ = f++-- | Returns whether or not the digit is 0.+is0 ::+ Digit+ -> Bool+is0 =+ if0 True False++-- | Returns whether or not the digit is 1.+is1 ::+ Digit+ -> Bool+is1 =+ if1 True False++-- | Returns whether or not the digit is 2.+is2 ::+ Digit+ -> Bool+is2 =+ if2 True False++-- | Returns whether or not the digit is 3.+is3 ::+ Digit+ -> Bool+is3 =+ if3 True False++-- | Returns whether or not the digit is 4.+is4 ::+ Digit+ -> Bool+is4 =+ if4 True False++-- | Returns whether or not the digit is 5.+is5 ::+ Digit+ -> Bool+is5 =+ if5 True False++-- | Returns whether or not the digit is 6.+is6 ::+ Digit+ -> Bool+is6 =+ if6 True False++-- | Returns whether or not the digit is 7.+is7 ::+ Digit+ -> Bool+is7 =+ if7 True False++-- | Returns whether or not the digit is 8.+is8 ::+ Digit+ -> Bool+is8 =+ if8 True False++-- | Returns whether or not the digit is 9.+is9 ::+ Digit+ -> Bool+is9 =+ if9 True False -- | Return the first argument if even, otherwise the second argument. ifEven ::
Digit.cabal view
@@ -1,5 +1,5 @@ Name: Digit-Version: 0.0.1+Version: 0.0.2 License: BSD3 License-File: LICENSE Author: Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ>