Skip to content
This repository was archived by the owner on Mar 29, 2026. It is now read-only.

Latest commit

 

History

History
38 lines (29 loc) · 1.3 KB

File metadata and controls

38 lines (29 loc) · 1.3 KB

Caution

This package has moved to taiwan-id.

Please update your dependencies:

-    roc-id
+ taiwan-id

roc-id

Latest Release Development Branch

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: