roc-id: Implementation of the ROC (Taiwan) Uniform ID Number format.

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

This package provides an 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.

See the ROC.ID module to get started.

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


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.2.0.3, 0.2.0.4, 0.2.0.5, 0.2.0.6, 0.3.0.0
Change log CHANGELOG.md
Dependencies base (>=4.17.2.1 && <4.22), 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
Category Identification
Home page https://github.com/jonathanknowles/roc-id#readme
Bug tracker https://github.com/jonathanknowles/roc-id/issues
Source repo head: git clone https://github.com/jonathanknowles/roc-id
Uploaded by JonathanKnowles at 2025-12-22T13:01:24Z
Distributions LTSHaskell:0.2.0.6, NixOS:0.2.0.5, Stackage:0.2.0.6
Downloads 1350 total (10 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2025-12-22 [all 1 reports]

Readme for roc-id-0.3.0.0

[back to package description]

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: