{"id":172676,"name":"cplusplus-th","ecosystem":"hackage","description":"\n\ncplusplus-th allows you to foreign import C++ functions that are\ncompatible with the ccall calling convention. It also includes\nsome standard library abstractions.\n\n\n\n[Index]\n\nPackage maintainers\n\nFor package maintainers and hackage trustees\n\nCandidates\n\n\n\ncplusplus-th allows you to foreign import C++ functions that are\ncompatible with the ccall calling convention. It also includes\nsome standard library abstractions.\n\nWith the following C++ function in the object file cbits/string.o:\n\nWe can import it into Haskell with:\n\nIt works by looking up the symbol in the object file.\nWhen using cabal, it is recommended you include the C++ file in\nyour c-sources and compile it in a build hook. For example:\n\nForeign.CPlusPlusStdLib exports the following type class:\n\nTo avoid orphan instances, it implements instances for\nsome numeric types, String and ByteString.","homepage":"https://github.com/nicta/cplusplus-th","licenses":"BSD-3-Clause","normalized_licenses":["BSD-3-Clause"],"repository_url":"https://github.com/nicta/cplusplus-th","keywords_array":["bsd3","foreign","library","Propose Tags"],"namespace":null,"versions_count":1,"first_release_published_at":"2014-10-15T02:04:01.000Z","latest_release_published_at":"2014-10-15T02:04:01.000Z","latest_release_number":"1.0.0.0","last_synced_at":"2026-05-17T06:31:53.487Z","created_at":"2022-04-05T18:54:35.246Z","updated_at":"2026-05-17T06:31:53.487Z","registry_url":"https://hackage.haskell.org/package/cplusplus-th","install_command":"cabal install cplusplus-th","documentation_url":null,"metadata":{},"repo_metadata":{"id":21600711,"uuid":"24920871","full_name":"NICTA/cplusplus-th","owner":"NICTA","description":"C++ Foreign Import Generation","archived":false,"fork":false,"pushed_at":"2014-10-15T02:05:49.000Z","size":152,"stargazers_count":34,"open_issues_count":3,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-08-17T13:48:49.935Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://hackage.haskell.org/package/cplusplus-th","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NICTA.png","metadata":{},"created_at":"2014-10-08T02:14:17.000Z","updated_at":"2016-07-08T12:35:04.000Z","dependencies_parsed_at":"2022-09-09T02:32:05.623Z","dependency_job_id":null,"html_url":"https://github.com/NICTA/cplusplus-th","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/NICTA/cplusplus-th","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NICTA%2Fcplusplus-th","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NICTA%2Fcplusplus-th/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NICTA%2Fcplusplus-th/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NICTA%2Fcplusplus-th/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NICTA","download_url":"https://codeload.github.com/NICTA/cplusplus-th/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NICTA%2Fcplusplus-th/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276047186,"owners_count":25575877,"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-09-20T02:00:10.207Z","response_time":63,"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"},"owner_record":{"login":"NICTA","name":"NICTA (Data61)","uuid":"1151968","kind":"organization","description":"","email":null,"website":"http://data61.csiro.au/","location":"Australia","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/1151968?v=4","repositories_count":67,"last_synced_at":"2023-03-22T22:35:54.482Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/NICTA","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-03T13:24:39.944Z","updated_at":"2023-03-22T22:35:54.963Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NICTA","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NICTA/repositories"},"tags":[{"name":"v1.0.0.0","sha":"3f99125b60f642a947093d7e210860b63dce4d44","kind":"commit","published_at":"2014-10-13T08:53:34.000Z","download_url":"https://codeload.github.com/NICTA/cplusplus-th/tar.gz/v1.0.0.0","html_url":"https://github.com/NICTA/cplusplus-th/releases/tag/v1.0.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/NICTA/cplusplus-th@v1.0.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NICTA%2Fcplusplus-th/tags/v1.0.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NICTA%2Fcplusplus-th/tags/v1.0.0.0/manifests"}]},"repo_metadata_updated_at":"2026-05-17T06:31:53.320Z","dependent_packages_count":0,"downloads":1328,"downloads_period":"total","dependent_repos_count":1,"rankings":{"downloads":69.1412931919261,"dependent_repos_count":36.76017789941841,"dependent_packages_count":19.055764625384878,"stargazers_count":13.325350667122818,"forks_count":37.06808073896681,"docker_downloads_count":null,"average":35.0701334245638},"purl":"pkg:hackage/cplusplus-th","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/hackage/cplusplus-th","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/hackage/cplusplus-th","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/hackage/cplusplus-th/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-17T13:48:50.423Z","issues_count":4,"pull_requests_count":0,"avg_time_to_close_issue":139216.0,"avg_time_to_close_pull_request":null,"issues_closed_count":1,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":3,"avg_comments_per_issue":2.0,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/NICTA%2Fcplusplus-th/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/cplusplus-th/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/cplusplus-th/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/cplusplus-th/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/cplusplus-th/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/cplusplus-th/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/packages/cplusplus-th/codemeta","maintainers":[{"uuid":"MaxwellSwadling","login":"MaxwellSwadling","name":null,"email":null,"url":null,"packages_count":9,"html_url":"https://hackage.haskell.org/user/MaxwellSwadling","role":null,"created_at":"2022-11-14T17:09:22.810Z","updated_at":"2022-11-14T17:09:22.810Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/hackage.haskell.org/maintainers/MaxwellSwadling/packages"}]}