{"id":19871117,"url":"https://github.com/thealgorithms/elm","last_synced_at":"2025-07-01T18:03:37.094Z","repository":{"id":48559541,"uuid":"198566501","full_name":"TheAlgorithms/Elm","owner":"TheAlgorithms","description":"All Algorithms implemented in Elm ","archived":false,"fork":false,"pushed_at":"2022-10-30T07:35:44.000Z","size":22,"stargazers_count":67,"open_issues_count":7,"forks_count":37,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-29T05:30:47.868Z","etag":null,"topics":["algorithms","data-structures","elm","hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Elm","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/TheAlgorithms.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}},"created_at":"2019-07-24T05:46:29.000Z","updated_at":"2025-06-08T18:27:15.000Z","dependencies_parsed_at":"2023-01-20T09:00:16.139Z","dependency_job_id":null,"html_url":"https://github.com/TheAlgorithms/Elm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheAlgorithms/Elm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FElm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FElm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FElm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FElm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheAlgorithms","download_url":"https://codeload.github.com/TheAlgorithms/Elm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheAlgorithms%2FElm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263013703,"owners_count":23399812,"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":["algorithms","data-structures","elm","hacktoberfest"],"created_at":"2024-11-12T16:11:20.200Z","updated_at":"2025-07-01T18:03:37.067Z","avatar_url":"https://github.com/TheAlgorithms.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Algorithms - Elm \n\n[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/TheAlgorithms) \u0026nbsp;\n\n### All algorithms implemented in Elm (for education)\n\nThese implementations are for learning purposes. They may be less efficient than the implementations in the Elm standard library.\n\n## How to run\n\n### Install run-elm\nRun the following to install [run-elm](https://github.com/jfairbank/run-elm)\n```shell script\n$ npm install -g run-elm\n```\n\n### Execute Elm\n\nEvery ELM file has default run in it, and can just be executed using run-elm \u003cfile_path\u003e\n\n```shell script\n$ run-elm src/Sorting/BubbleSort.elm\nSorting List: [4,23,6,78,1,54,231,9,12]\n1,4,6,9,12,23,54,78,231\n```\n\nSome files also have option to take arguments as input\n\n```shell script\n$ run-elm src/Sorting/BubbleSort.elm 23 45 76 34 65 98\nSorting List: [23,45,76,34,65,98]\n23,34,45,65,76,98\n```\n\n**OR**\n\nif you want to run all the programs with default arguments\n```shell script\n$ run-elm src/Main.elm\nSorting List: [4,23,6,78,1,54,231,9,12]\nRunning Insertion sort: \"1,4,6,9,12,23,54,78,231\"\nSorting List: [4,23,6,78,1,54,231,9,12]\nRunning Bubble sort: \"1,4,6,9,12,23,54,78,231\"\n```\n\n## Community Channel\n\nWe're on [Gitter](https://gitter.im/TheAlgorithms)! Please join us.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthealgorithms%2Felm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthealgorithms%2Felm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthealgorithms%2Felm/lists"}