roc/examples
2022-02-06 07:38:32 -05:00
..
benchmarks remove old Effect module things 2022-02-03 23:55:02 +01:00
cli Merge branch 'trunk' into cleanup-cli-example 2022-02-05 20:53:55 -05:00
effect Merge branch 'trunk' into fix-module-formatting 2022-02-04 23:03:52 -05:00
false-interpreter Merge branch 'trunk' into fix-module-formatting 2022-02-04 23:03:52 -05:00
fib remove old Effect module things 2022-02-03 23:55:02 +01:00
hello-rust remove old Effect module things 2022-02-03 23:55:02 +01:00
hello-swift remove old Effect module things 2022-02-03 23:55:02 +01:00
hello-web remove old Effect module things 2022-02-03 23:55:02 +01:00
hello-world remove old Effect module things 2022-02-03 23:55:02 +01:00
hello-zig remove old Effect module things 2022-02-03 23:55:02 +01:00
quicksort remove old Effect module things 2022-02-03 23:55:02 +01:00
tea Reproduce mono::ir panic 2022-02-06 07:38:32 -05:00
tui remove old Effect module things 2022-02-03 23:55:02 +01: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.