amphitheres / elm-step-sorter

An elm module for sorting lists, one step at a time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Step Sorter

Elm Step Sorter is Elm code you can use to sort a list in your web application.

mergeSortStep returns a Result of either the sorted list, or an intermittent step. You can call choices on an intermittent step to get a pair of elements that are currently being sorted. You must provide an Ord to your calls to mergeSort, ordering that pair, in order to progress sorting.

Demo

There is also a demo app showcasing the algorithm. It is deployed on github here, or you can clone and build the demo with elm-make.

Step 1: upload pictures

Step 2: Pick your favorite option

Step 3: Get an ordered list of your favorites!

About

An elm module for sorting lists, one step at a time.


Languages

Language:Elm 79.0%Language:CSS 17.4%Language:HTML 2.6%Language:Makefile 1.0%