roc/examples
2021-09-18 23:17:52 -04:00
..
benchmarks Merge branch 'trunk' into integrate-linker 2021-09-18 23:17:52 -04:00
cli remove debug prints 2021-08-27 00:05:13 +02:00
effect Get zig host working 2021-09-15 11:45:44 -07:00
fib update fib gitignore 2021-09-16 20:19:28 -07:00
hello-rust Get zig host working 2021-09-15 11:45:44 -07:00
hello-world Get zig host working 2021-09-15 11:45:44 -07:00
hello-zig Get zig host working 2021-09-15 11:45:44 -07:00
quicksort Get zig host working 2021-09-15 11:45:44 -07:00
.gitignore Create dummy lib as libapp.so 2021-09-15 15:16:39 -07: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.