taiwan-id: Implementation of Taiwan's uniform ID number format.

[ bsd3, identification, library ] [ Propose Tags ] [ Report a vulnerability ]

This package provides a Haskell implementation of Taiwan's uniform identification number format.

This number format is used by both National Identification Cards (國民身分證) and Alien Resident Certificates (外僑居留證) issued by the Republic of China (ROC) government to individuals, with numbers assigned under each system occupying disjoint parts of the same identifier space.

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.

See the Taiwan.ID module to get started.

For more details, see:


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.0.0
Change log CHANGELOG.md
Dependencies base (>=4.17.2.1 && <4.22), finitary (>=2.2.0.0 && <2.3), finite-typelits (>=0.2.1.0 && <0.3), MonadRandom (>=0.5.1.1 && <0.7), nonempty-containers (>=0.3.5.0 && <0.4), text (>=1.2.3.1 && <2.2) [details]
License BSD-3-Clause
Copyright Jonathan Knowles
Author Jonathan Knowles
Maintainer mail@jonathanknowles.net
Uploaded by JonathanKnowles at 2026-03-09T06:23:07Z
Category Identification
Home page https://github.com/jonathanknowles/taiwan-id#readme
Bug tracker https://github.com/jonathanknowles/taiwan-id/issues
Source repo head: git clone https://github.com/jonathanknowles/taiwan-id
Distributions
Downloads 0 total (0 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2026-03-09 [all 1 reports]

Readme for taiwan-id-0.0.0.0

[back to package description]

taiwan-id

Latest Release Development Branch

This package provides a Haskell implementation of Taiwan's uniform identification number format.

This number format is used by both National Identification Cards (國民身分證) and Alien Resident Certificates (外僑居留證) issued by the Republic of China (ROC) government to individuals, with numbers assigned under each system occupying disjoint parts of the same identifier space.

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, see: