{"id":17250697,"url":"https://github.com/statusfailed/double-dhall","last_synced_at":"2025-03-26T06:43:04.940Z","repository":{"id":145119650,"uuid":"164848638","full_name":"statusfailed/double-dhall","owner":"statusfailed","description":"Demo adding Double arithmetic to Dhall","archived":false,"fork":false,"pushed_at":"2019-01-11T11:31:02.000Z","size":7,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-31T08:19:09.531Z","etag":null,"topics":[],"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/statusfailed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-09T11:16:54.000Z","updated_at":"2023-04-04T16:59:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"f4b7f3a0-ebd2-4299-b1ae-cec168828f3e","html_url":"https://github.com/statusfailed/double-dhall","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statusfailed%2Fdouble-dhall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statusfailed%2Fdouble-dhall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statusfailed%2Fdouble-dhall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/statusfailed%2Fdouble-dhall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/statusfailed","download_url":"https://codeload.github.com/statusfailed/double-dhall/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245605709,"owners_count":20643030,"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","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":[],"created_at":"2024-10-15T06:49:21.164Z","updated_at":"2025-03-26T06:43:04.919Z","avatar_url":"https://github.com/statusfailed.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Double-Dhall\n\nThis repository is a simple example of how Double arithmetic can be added to\n[Dhall](https://github.com/dhall-lang/dhall-lang/).\n\nIt adds four functions:\n\n* `Double/add`\n* `Double/sub`\n* `Double/mul`\n* `Double/div`\n\n[readme.dhall](readme.dhall) contains usage examples of these functions, and is\nused to generate this file (README.md).\n\nHere are some typical examples of how you might use these functions:\n\n    Double/add 2.0 3.0 = 5.0\n    Double/sub 1.0 0.5 = 0.5\n    Double/mul 5.5 1.5 = 8.25\n    Double/div 8.0 2.0 = 4.0\n\nEdge cases for division work as you might expect for Double:\n\n    Double/div 1.0 0.0 = Infinity\n    Double/div 0.0 0.0 = NaN\n\nThis code was adapted from [this\nguide](https://github.com/dhall-lang/dhall-lang/wiki/How-to-add-a-new-built-in-function),\nthe main difference being it adds multiple functions instead of just one.\n\n# Generating README.md\n\nThis README is generated by running the following command:\n\n    cat readme.dhall | cabal run\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatusfailed%2Fdouble-dhall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstatusfailed%2Fdouble-dhall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstatusfailed%2Fdouble-dhall/lists"}