Giter Site home page Giter Site logo

elm's Introduction

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.

elm's People

Contributors

anupkumarpanwar avatar mrl1605 avatar panquesito7 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.