Skip to content

amphitheres/elm-step-sorter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published