roc/examples
2021-08-05 23:15:00 -04:00
..
benchmarks Revert "Remove QuicksortApp benchmark for now" 2021-07-27 00:09:40 -04:00
effect Move model/msg Package-Config code to examples/tea 2021-07-19 22:23:39 -04:00
hello-rust Drop libc dependency from roc_std 2021-08-02 22:29:23 -04:00
hello-world Update docs to remove references to roc run 2021-08-05 23:15:00 -04:00
hello-zig Update docs to remove references to roc run 2021-08-05 23:15:00 -04:00
quicksort Update docs to remove references to roc run 2021-08-05 23:15:00 -04:00
.gitignore Move benchmarks/ up a directory 2021-07-26 22:38:55 -04:00
README.md Update docs to remove references to roc run 2021-08-05 23:15:00 -04:00

Examples

Took a look around in the examples folder, examples/benchmarks contains some larger examples.

Run examples as follows:

  1. Navigate to /examples
  2. Run with:
cargo run hello-world/Hello.roc

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