Elm Notebook V2
I’d like to announce a new version of Elm Notebook (see screenshot below), now available at https://elm-notebook.org .
Elm Notebook operates by talking to the Elm compiler. The Welcome document in the Public docs tab (sidebar, upper right) gives some operating instructions, and the Packages document talks about how to install and use packages. These links will open up the notebooks in guest mode, so you can experiment with but not create you own notebooks. But you can edit, run, and save cells however you wish. Changes to these documents will not be saved, so you can go wild with them.
There is more work to be done on Elm Notebook, but I though that that work would progress faster if I posted it now so as to benefit from your collective suggestions and bug reports.
One hope I have for Elm Notebook is for it to be used in teaching and learning, including studying (and experimenting) on your own. Here are some sample public notebooks towards that end:
- Binary Trees
- Collatz Conjecture
- Parser Recipes 1
- Parser Recipes 2
- Error Test
- Rose Trees
- The Point Type
If you just want to see if the notebooks work, click on the red Run all cells button in the
header of Elm Notebook. If you run into trouble, please let me know.
I hope that many of you will write your own notebooks and share them with others by making them public. Just click on the private/public
button in the footer, right-hand side.
I would like to thank Evan Czaplicki and Mario Rogic for their help with this project. Also thanks to Martin Stewart, who helped me squash several rounds of bugs, oversights, and bad choices.
Note. I’ve changed the way error messages are handled (see image below).
PS. I am thinking about additional features, e.g. being able to play with code that renders SVG or that runs small simulations. Version 1 of elm-notebook had these features, albeit in somewhat clunky form. My plan, however, is to get the strictly REPL part of version 2 perfected first._