notzero 0.0.4 → 0.0.5
raw patch · 3 files changed
+7/−4 lines, 3 files
Files
- changelog +4/−0
- notzero.cabal +1/−1
- src/Data/NotZero.hs +2/−3
changelog view
@@ -1,3 +1,7 @@+0.0.5++* Changed `notZero1` to just be the value 1.+ 0.0.4 * Add `NotZero` functions to construct with default.
notzero.cabal view
@@ -1,5 +1,5 @@ name: notzero-version: 0.0.4+version: 0.0.5 license: BSD3 license-file: LICENSE author: Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ> <dibblego>
src/Data/NotZero.hs view
@@ -43,10 +43,9 @@ notZero1 :: (Eq a, Num a) =>- a- -> NotZero a+ NotZero a notZero1 =- notZeroElse 1+ NotZero 1 instance Num a => Semigroup (NotZero a) where NotZero a <> NotZero b =