ascii-numbers 1.1.0.0 → 1.1.0.1
raw patch · 3 files changed
+44/−11 lines, 3 filesdep ~ascii-supersetdep ~basedep ~bytestringPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: ascii-superset, base, bytestring, hashable
API changes (from Hackage documentation)
Files
- ascii-numbers.cabal +11/−11
- changelog.md +31/−0
- readme.md +2/−0
ascii-numbers.cabal view
@@ -1,7 +1,7 @@ cabal-version: 3.0 name: ascii-numbers-version: 1.1.0.0+version: 1.1.0.1 synopsis: ASCII representations of numbers category: Data, Numeric, Text @@ -15,14 +15,14 @@ author: Chris Martin maintainer: Chris Martin, Julie Moronuki -homepage: https://github.com/typeclasses/ascii-bug-Reports: https://github.com/typeclasses/ascii/issues+homepage: https://github.com/typeclasses/ascii-numbers+bug-reports: https://github.com/typeclasses/ascii-numbers/issues -build-type: Simple+extra-doc-files: *.md source-repository head type: git- location: git://github.com/typeclasses/ascii.git+ location: git://github.com/typeclasses/ascii-numbers.git common base default-language: Haskell2010@@ -43,10 +43,10 @@ ascii-case ^>= 1.0 , ascii-char ^>= 1.0 , ascii-superset ^>= 1.0.1- , base >= 4.13 && < 4.17+ , base ^>= 4.14 || ^>= 4.15 || ^>= 4.16 || ^>= 4.17 , bytestring ^>= 0.10 || ^>= 0.11- , hashable >= 1.3 && < 1.5- , text ^>= 1.2.4+ , hashable ^>= 1.3.5 || ^>= 1.4+ , text ^>= 1.2.4.1 || ^>= 2.0 library import: base@@ -54,8 +54,8 @@ exposed-modules: ASCII.Decimal- , ASCII.Hexadecimal- , ASCII.Word4+ ASCII.Hexadecimal+ ASCII.Word4 other-modules: DList@@ -68,7 +68,7 @@ build-depends: ascii-numbers- , hedgehog ^>= 1.0.1 || ^>= 1.1+ , hedgehog ^>= 1.0.5 || ^>= 1.1 || ^>= 1.2 , invert ^>= 1.0 default-extensions:
+ changelog.md view
@@ -0,0 +1,31 @@+### 1.1.0.1 (2022-12-30)++Metadata changes only++### 1.1.0.0 (2022-04-20)++Removed dependency on `d10`. The `D10` type from the `d10` module is replaced+with the new `Digit` type instead. This type better semantically represents an+ASCII character rather than an abstract 0-9 number, and this allows us to more+confidently define instances for it that befit its ASCII meaning. The+constructor names now have the full word `Digit` in them rather than `D`, which+is consistent with the constructor names in `ASCII.Char` and+`ASCII.Hexadecimal`.++Renamed `D16` to `Word4`. This is now defined in a separate module,+`ASCII.Word4`. The constructors are renamed from `D...` to `Number...`. The+`Word4` type might someday belong in a separate package, because the concept can+exist separately from ASCII.++Added `Lift` instances:++```haskell+instance DigitSuperset x => Lift Digit x+instance DigitStringSuperset x => Lift [Digit] x+instance HexCharSuperset x => Lift HexChar x+instance HexStringSuperset x => Lift [HexChar] x+```++### 1.0.0.0 (2022-03-24)++Initial release
+ readme.md view
@@ -0,0 +1,2 @@+This package provides functions for converting back and forth between numbers+and their ASCII representations.