{"id":26976138,"url":"https://github.com/mohammadhasanii/mathematics-erlang","last_synced_at":"2026-04-28T17:02:44.048Z","repository":{"id":179656328,"uuid":"630377988","full_name":"mohammadhasanii/Mathematics-Erlang","owner":"mohammadhasanii","description":"Erlang is a functional programming language and is used for real-time communication. This simple package is used to distinguish even and odd numbers","archived":false,"fork":false,"pushed_at":"2023-11-01T15:20:19.000Z","size":2,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-15T09:04:12.795Z","etag":null,"topics":["erlang","erlang-otp","evenorodd","haskell","mathematics"],"latest_commit_sha":null,"homepage":"https://www.erlang.org/","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mohammadhasanii.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-04-20T08:53:21.000Z","updated_at":"2024-07-20T14:00:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"34439bdf-586b-4505-a691-f11fa9c1cc6f","html_url":"https://github.com/mohammadhasanii/Mathematics-Erlang","commit_stats":null,"previous_names":["mohammadhasanii/mathematics-erlang"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mohammadhasanii/Mathematics-Erlang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhasanii%2FMathematics-Erlang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhasanii%2FMathematics-Erlang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhasanii%2FMathematics-Erlang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhasanii%2FMathematics-Erlang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohammadhasanii","download_url":"https://codeload.github.com/mohammadhasanii/Mathematics-Erlang/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohammadhasanii%2FMathematics-Erlang/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32390067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["erlang","erlang-otp","evenorodd","haskell","mathematics"],"created_at":"2025-04-03T11:35:51.516Z","updated_at":"2026-04-28T17:02:44.032Z","avatar_url":"https://github.com/mohammadhasanii.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Mathematics-Erlang\n\nErlang  is a functional programming language and is used for real-time communication. This simple package is used to distinguish even and odd numbers\n\n\n\n\n![Logo](https://serokell.io/files/qa/qap56dhf.1_(41)_(1).jpg)\n\n\n## Usage/Examples\n\nmath_functions.erl\n\n```\n-module(math_functions).\n\n-export([even/1, odd/1]).\n\neven(X) when X \u003e= 0 -\u003e (X band 1) == 0.\n\nodd(X) when X \u003e 0 -\u003e not even(X).\n\n```\n\n\n\n\n## Compile the application\n\nRun the \"erl\" commands in your bash line to start the Erlang engine\n\n```bash\n  \nErlang/OTP 24 [erts-12.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit]\n\n\n1\u003e c (math_functions).\n{ok,math_functions}\n\n2\u003e math_functions:even(12).\ntrue\n\n3\u003e math_functions:odd(12). \nfalse\n\n\n```\n    \n## Erlang/OTP Documentation \n\n[Erlang/OTP Documentation](https://www.erlang.org/docs)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammadhasanii%2Fmathematics-erlang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohammadhasanii%2Fmathematics-erlang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohammadhasanii%2Fmathematics-erlang/lists"}