=====
NOTE: This package is a working in progress.
=====
A system to create Elm exercises leveraging the Ellie platform.
It can be used in several way:
It supports three possible implementations:
exercise - This is the simpler version, it only requires a list of tests. Most exercises can be built with this.exerciseWithView - This is an intermediate version where you can also create a view to be used as Result of the exercise.exerciseWithTea - Useful in the rear case that you need a complete Elm Architecture for your exercise.To submit a new exercise, you need to
exercises/src/E folder. See to the other files in that folder to see examples.Change the dummy function at the top to reflect a function that can be used as solution of the exercise. Be sure that the type signature is correct and that it compiles. Use dummy values as returned values. For example if the function return List a, you can return []. If the function return Maybe a you can return Nothing, etc.
Load the right exercise from the HTML section in Ellie:
`<script src="/js/001.js"></script>`
Where the number is the number of the exercise you createdAdd you excercise in this list: exercises/src/ListExercises.elm
node exercises/worker.js