{"id":32161575,"url":"https://github.com/pikajude/th-printf","last_synced_at":"2025-10-21T13:55:59.449Z","repository":{"id":11050981,"uuid":"13389037","full_name":"pikajude/th-printf","owner":"pikajude","description":"Compile-time checked printf","archived":false,"fork":false,"pushed_at":"2023-08-03T04:11:38.000Z","size":179,"stargazers_count":14,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-21T13:55:48.551Z","etag":null,"topics":["haskell","printf"],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pikajude.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-07T16:27:08.000Z","updated_at":"2025-08-25T16:27:12.000Z","dependencies_parsed_at":"2022-08-28T20:01:58.907Z","dependency_job_id":null,"html_url":"https://github.com/pikajude/th-printf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pikajude/th-printf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pikajude%2Fth-printf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pikajude%2Fth-printf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pikajude%2Fth-printf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pikajude%2Fth-printf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pikajude","download_url":"https://codeload.github.com/pikajude/th-printf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pikajude%2Fth-printf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280272337,"owners_count":26302260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["haskell","printf"],"created_at":"2025-10-21T13:55:55.564Z","updated_at":"2025-10-21T13:55:59.442Z","avatar_url":"https://github.com/pikajude.png","language":"Haskell","readme":"# th-printf ![th-printf](https://github.com/pikajude/th-printf/actions/workflows/haskell-ci.yml/badge.svg) [![th-printf](https://img.shields.io/hackage/v/th-printf)](https://hackage.haskell.org/package/th-printf)\n\nprintf QuasiQuoters\n\n## Usage\n\n```haskell\nimport Language.Haskell.Printf\n\n-- String interpolation\n[s|Hello, %s!|] \"Jeff\" -- \"Hello, Jeff!\"\n\n-- Text interpolation\n[s|Hello, %q!|] (Data.Text.Lazy.pack \"Jeff\") -- \"Hello, Jeff!\"\n\n-- Width specifiers\n[s|%010d|] 1977 -- \"0000001977\"\n\n-- Different radices\n[s|%d, %x, %o, %#x, %#o|] 100 100 100 100 100 -- \"100, 64, 144, 0x64, 0144\"\n\n-- Variable-width formatting\n[s|%0*d|] 5 10 -- \"00010\"\n```\n\nThere's also another format specifier `%?`, which accepts any `Show`able datatype.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpikajude%2Fth-printf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpikajude%2Fth-printf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpikajude%2Fth-printf/lists"}