BSD-3-Clause licensed by Jonathan Knowles
Maintained by [email protected]
This version can be pinned in stack with:roc-id-0.3.0.0@sha256:68c5f2a06143cf77ff08078cb38dcda59afdf50207f437fe25e69cb324ad44c4,3769

roc-id

This package provides a Haskell implementation of the ROC (Taiwan) Uniform Identification Number (中華民國統一證號) format.

This format is used by both National Identification Cards (國民身分證) and Alien Resident Certificates (居留證). Each identification number consists of a single uppercase letter followed by nine decimal digits, with the final digit serving as a checksum, calculated according to a standard algorithm.

Example: A123456789

This package offers functions for validating, decoding, and encoding these numbers.

For more details of the Uniform Identification Number format, see:

Changes

0.3.0.0

  • Added support for ARC (Alien Residence Certificate) numbers.
  • Added support for type-checked ID literals.
  • Refined and reorganised the public API.

0.2.0.6

  • Revised version bounds of dependencies.

0.2.0.5

  • Revised version bounds of dependencies.

0.2.0.4

  • Added support for GHC 9.12.

0.2.0.3

  • Added support for GHC 9.10.

0.2.0.2

  • Revised upper version bounds of dependencies.

0.2.0.1

  • Added support for GHC 9.8.

0.2.0.0

  • Refreshed package documentation.
  • Refreshed all package dependencies.
  • Removed dependency on generic-arbitrary package.

0.1.0.0

  • Initial release.