roc/examples
2022-07-06 14:00:45 -04:00
..
algorithms Remove Package-Config.roc from examples 2022-06-16 15:21:55 -04:00
benchmarks roc format examples 2022-07-06 14:00:45 -04:00
breakout roc format examples 2022-07-06 14:00:45 -04:00
false-interpreter moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00
gui roc format examples 2022-07-06 14:00:45 -04:00
hello-world Rename "hello" executable to "helloWorld" 2022-06-27 00:06:37 -06:00
interactive roc format examples 2022-07-06 14:00:45 -04:00
platform-switching correct host.test.js 2022-07-03 10:28:56 -07:00
.gitignore Simplify example ignores 2022-03-07 19:59:29 -07:00
README.md fix typo 2022-06-15 12:08:06 -04:00

Examples

Run examples as follows:

  1. Navigate to this examples folder

    cd examples
    
  2. Run a particular example, such as Hello World:

    roc run hello-world/main.roc
    

examples/benchmarks/ contains some larger examples.

Some examples like examples/benchmarks/NQueens.roc require input after running. For NQueens, input 10 in the terminal and press enter.