{"id":16499336,"url":"https://github.com/tpapp/algebraresulttypes.jl","last_synced_at":"2025-07-16T01:43:03.004Z","repository":{"id":55588577,"uuid":"168571233","full_name":"tpapp/AlgebraResultTypes.jl","owner":"tpapp","description":"result type calculations for algebraic operations","archived":false,"fork":false,"pushed_at":"2023-05-08T12:49:32.000Z","size":16,"stargazers_count":2,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T16:20:08.412Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tpapp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-31T18:02:11.000Z","updated_at":"2023-05-08T12:49:38.000Z","dependencies_parsed_at":"2022-08-15T03:50:21.741Z","dependency_job_id":null,"html_url":"https://github.com/tpapp/AlgebraResultTypes.jl","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpapp%2FAlgebraResultTypes.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpapp%2FAlgebraResultTypes.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpapp%2FAlgebraResultTypes.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpapp%2FAlgebraResultTypes.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpapp","download_url":"https://codeload.github.com/tpapp/AlgebraResultTypes.jl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241404956,"owners_count":19957735,"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-11T14:52:12.722Z","updated_at":"2025-03-01T18:20:34.107Z","avatar_url":"https://github.com/tpapp.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AlgebraResultTypes.jl\n\n![lifecycle](https://img.shields.io/badge/lifecycle-maturing-blue.svg)\n[![build](https://github.com/tpapp/AlgebraResultTypes.jl/workflows/CI/badge.svg)](https://github.com/tpapp/AlgebraResultTypes.jl/actions?query=workflow%3ACI)\n[![codecov.io](http://codecov.io/github/tpapp/AlgebraResultTypes.jl/coverage.svg?branch=master)](http://codecov.io/github/tpapp/AlgebraResultTypes.jl?branch=master)\n\nA Julia package for calculating result types of arithmetic operations.\n\n## Motivation\n\nA lot of Julia code contains some simple functions to calculate the result types of arithmetic operations. This package aims to be a well-tested centralized implementation of these.\n\nThe package is really lightweight and has no dependencies.\n\n## Usage\n\n```julia\njulia\u003e using AlgebraResultTypes: result_field, result_ring # no exported symbols\njulia\u003e result_field(Float64, Int)\nFloat64\njulia\u003e result_field(Int, Int)\nFloat64\njulia\u003e result_ring(Int, Int)\nInt\njulia\u003e result_field(Real)\nNumber # non-concrete fallback\n```\n\n## How can you help\n\nAdd tests for other types, especially if defined in another package.\n\nIf the tests pass, please make a PR.\n\nIf they don't, please open an issue, or (ideally) make a PR that includes fixes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpapp%2Falgebraresulttypes.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpapp%2Falgebraresulttypes.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpapp%2Falgebraresulttypes.jl/lists"}