Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Latest commit

 

History

History

reference-bs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Reference implementation of Bubblesort to demonstrate system implementation in Elm

Setup

Create a new directory for your application and cd into the directory.

mkdir myapp
cd myapp

initialize elm in the directory

elm init

add the following packages to elm.json dependencies.

"MacCASOutreach/graphicsvg": "7.1.0",
"elm/browser": "1.0.2",
"elm/core": "1.0.4",
"elm/html": "1.0.0",
"elm/http": "2.0.0",
"elm/json": "1.1.3",
"elm/random": "1.0.0",
"elm/svg": "1.0.1",
"elm/time": "1.0.0",
"elm-community/list-extra": "8.2.3",

using npm install elm-test.

run elm-test init.

in the tests directory that is created automatically, add testing files.

to run a test: elm-test in the shell.