Implement Italian Fiscal Code in Haskell
还没有人认领这个 Issue。
评估
调研方向
Read SPECIFICATION.md in the repository root for the algorithm and the JSON input/output contract, then compare the existing languages/python and languages/php implementations. Create languages/haskell/ with the source, Dockerfile, run.sh, manifest.yaml and README.md. Done when ./elc test haskell passes all 87 cases.
由索引模型根据 Issue 内容生成。
描述
Implement the Italian Fiscal Code algorithm in Haskell and get it verified by the shared test suite.
What to build
A program that reads one JSON object on stdin and writes the fiscal code (or an error) as JSON on stdout, exactly as described in SPECIFICATION.md.
$ echo '{"surname":"ROSSI","name":"MARIO","birth_date":"1980-01-01","sex":"M","birthplace_code":"H501"}' | ./elc run haskell
{"fiscal_code": "RSSMRA80A01H501U"}
Suggested setup
| Directory | languages/haskell/ |
| Family | functional |
| Docker base | haskell:9.8 (just a suggestion) |
Checklist
-
languages/haskell/with source,Dockerfile,run.sh,manifest.yamlandREADME.md - The algorithm is written entirely in Haskell (no wrappers, no fiscal-code libraries, no remote calls)
-
./elc test haskellpasses 87/87 - PR opened with
Closes #<this issue>
See CONTRIBUTING.md and the Python / PHP implementations for complete examples.
🎃 This issue is part of Hacktoberfest. Comment below to claim it!
- 主要语言
- Python
- 星标
- 1
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
openapi/every-language-fiscal-code 的其他 Issue
-
good first issue hacktoberfest help wanted new-language
难度 2/5 半天 新手友好度 78/100
-
hacktoberfest help wanted historical-language new-language
难度 3/5 1-2 天 新手友好度 65/100
-
hacktoberfest help wanted historical-language new-language
难度 3/5 1-2 天 新手友好度 70/100
-
hacktoberfest help wanted historical-language new-language
难度 3/5 1-2 天 新手友好度 50/100
-
hacktoberfest help wanted historical-language new-language
难度 4/5 3-5 天 新手友好度 50/100
查看 openapi/every-language-fiscal-code 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 64/100
aws-samples/sample-per-model-bedrock#295 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 76/100
pyrevitlabs/pyRevit#3792 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 69/100
zephyrproject-rtos/reqmgmt#177 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
polarsource/polar#15580 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
521xueweihan/HelloGitHub#4011 ·