@@ -0,0 +1,66 @@
3+The REPL lets you interact with Elm values and functions in your terminal.
9+You need [Elm][install] and [node.js][node] for the REPL. Elm generates JavaScript and we currently use node.js to evaluate it!
11+[install]: https://guide.elm-lang.org/install.html
12+[node]: https://nodejs.org/en/download/
18+You can type in expressions, definitions, union types, and module imports using normal Elm syntax.
28+The same can be done with definitions and union types:
35+<function> : number -> number
40+> factorial n = if n < 1 then 1 else n * factorial (n-1)
41+<function> : number -> number
46+> type Either a b = Left a | Right b
54+When you run `elm repl` in a project with an `elm.json` file, you can import any module available in the project:
59+> String.length "hello"
62+> String.reverse "flow"
66+Core modules, package modules, your modules. Whatever is available! So if you create a module named `MyThing` in your project, you can say `import MyThing` in the REPL and mess with anything it exposes.