GitXplorerGitXplorer
T

Elm

public
65 stars
34 forks
7 issues

Commits

List of commits on branch master.
Unverified
5018c290604f1d3688483a5dcab7a11334c08bc9

updating DIRECTORY.md

committed 2 years ago
Verified
f209b2bef503706a8d5ccad8e351111e2283e95e

Merge pull request #13 from LisandroDiMeo/binary-trees

AAnupKumarPanwar committed 2 years ago
Verified
dcba4da81f640c7abde2c602104f9c93fb66d442

Update README.md

AAnupKumarPanwar committed 2 years ago
Unverified
8cbc04cceae41b7d2258c475966e312d7bcc51aa

Updated traverse methods with fold usage and sample for it

committed 2 years ago
Unverified
e28252a338eb606b166def3d9c9dd43ea19c3201

refactor inorder using fold

LLisandroDiMeo committed 2 years ago
Unverified
847e778210c9d8a4052552694be69e5064cc9203

added binary tree structure and basic methods for it

LLisandroDiMeo committed 2 years ago

README

The README file for this repository.

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"

Community Channel

We're on Gitter! Please join us.