text-builder-dev 0.3.4 → 0.3.4.1
raw patch · 2 files changed
+7/−7 lines, 2 files
Files
- library/TextBuilderDev.hs +6/−6
- text-builder-dev.cabal +1/−1
library/TextBuilderDev.hs view
@@ -196,8 +196,8 @@ finiteBitsUnsignedBinary @Word <$> arbitrary, hexadecimal @Integer <$> arbitrary, unsignedHexadecimal @Natural <$> arbitrary,- decimalDigit <$> QcGen.choose (0, 9),- hexadecimalDigit <$> QcGen.choose (0, 15),+ decimalDigit <$> QcGen.choose @Int (0, 9),+ hexadecimalDigit <$> QcGen.choose @Int (0, 15), fixedDouble <$> QcGen.choose (0, 19) <*> arbitrary, doublePercent <$> QcGen.choose (0, 19) <*> arbitrary, utcTimestampInIso8601 <$> arbitrary <*> arbitrary <*> arbitrary <*> arbitrary <*> arbitrary <*> arbitrary,@@ -481,14 +481,14 @@ -- | Decimal digit. {-# INLINE decimalDigit #-}-decimalDigit :: Int -> TextBuilder-decimalDigit n =+decimalDigit :: (Integral a) => a -> TextBuilder+decimalDigit (fromIntegral -> n) = unicodeCodePoint (n + 48) -- | Hexadecimal digit. {-# INLINE hexadecimalDigit #-}-hexadecimalDigit :: Int -> TextBuilder-hexadecimalDigit n =+hexadecimalDigit :: (Integral a) => a -> TextBuilder+hexadecimalDigit (fromIntegral -> n) = if n <= 9 then unicodeCodePoint (n + 48) else unicodeCodePoint (n + 87)
text-builder-dev.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: text-builder-dev-version: 0.3.4+version: 0.3.4.1 category: Text, Builders synopsis: Edge of developments for "text-builder" description: