X Tutup
The Wayback Machine - https://web.archive.org/web/20201126005712/https://github.com/TheAlgorithms/Elm
Skip to content
master
Go to file
Code

Latest commit

* Updated .gitignore for cleanup

* Fixed Directory structure and updated README accordingly.

* Added SelectionSort and prettified Main.elm output

Signed-off-by: Lalit Umbarkar <lalit.umbarkar9@gmail.com>

* Added MergeSort

Signed-off-by: Lalit Umbarkar <lalit.umbarkar9@gmail.com>

* Fixed typo in README

Signed-off-by: Lalit Umbarkar <lalit.umbarkar9@gmail.com>

Co-authored-by: Christian Clauss <cclauss@me.com>
48eeea2

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 

README.md

The Algorithms - Elm

Gitter chat  

All algorithms implemented in Elm (for education)

These implementations are for learning purposes. They may be less efficient than the implementations in the Elm standard library.

How to run

Install run-elm

Run the following to install run-elm

$ npm install -g run-elm

Execute Elm

Every ELM file has default run in it, and can just be executed using run-elm <file_path>

$ run-elm src/Sorting/BubbleSort.elm
Sorting List: [4,23,6,78,1,54,231,9,12]
1,4,6,9,12,23,54,78,231

Some files also have option to take arguments as input

$ run-elm src/Sorting/BubbleSort.elm 23 45 76 34 65 98
Sorting List: [23,45,76,34,65,98]
23,34,45,65,76,98

OR

if you want to run all the programs with default arguments

$ run-elm src/Main.elm
Sorting List: [4,23,6,78,1,54,231,9,12]
Running Insertion sort: "1,4,6,9,12,23,54,78,231"
Sorting List: [4,23,6,78,1,54,231,9,12]
Running Bubble sort: "1,4,6,9,12,23,54,78,231"

Owners

Anup Kumar Panwar   [Gmail   GitHub   LinkedIn]

Chetan Kaushik   [Gmail   GitHub   LinkedIn]

Community Channel

We're on Gitter! Please join us.

About

All Algorithms implemented in Elm

Topics

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.
X Tutup