taiwan-id: Implementation of Taiwan's uniform ID number format.
This package provides a Haskell implementation of Taiwan's uniform identification number format.
This number format is used by both National Identification Cards (國民身分證) and 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 a library with functions for validating, decoding, and encoding these numbers, as well as a command-line tool for working with them interactively.
See the Taiwan.ID module to get started.
For more details, see:
[Skip to Readme]
Modules
[Index] [Quick Jump]
Flags
Manual Flags
| Name | Description | Default |
|---|---|---|
| taiwan-id-doc-test | Enables the `taiwan-id-doc-test` test suite. Requires that the package is built with: write-ghc-environment-files: always | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- taiwan-id-0.1.1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.0.0.0, 0.1.0.0, 0.1.1.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.6.2.1 && <0.7), nonempty-containers (>=0.3.5.0 && <0.4), optparse-applicative (>=0.19.0.0 && <0.20), QuickCheck (>=2.16.0.0 && <2.17), random (>=1.3.1 && <1.4), taiwan-id, text (>=2.1.4 && <2.2) [details] |
| License | BSD-3-Clause |
| Copyright | Jonathan Knowles |
| Author | Jonathan Knowles |
| Maintainer | mail@jonathanknowles.net |
| Uploaded | by JonathanKnowles at 2026-03-25T08:06:32Z |
| 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 |
| Executables | taiwan-id |
| Downloads | 5 total (5 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-25 [all 1 reports] |