mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-14 07:29:02 +03:00
.. | ||
algorithms | ||
benchmarks | ||
false-interpreter | ||
gui | ||
hello-world | ||
interactive | ||
.gitignore | ||
README.md |
Examples
Took a look around in this folder; examples/benchmarks/
contains some larger examples.
Run examples as follows:
-
Navigate to the examples directory
cd examples
-
Run "Hello, World!" example
cargo run hello-world/helloWorld.roc
Some examples like examples/benchmarks/NQueens.roc
require input after running.
For NQueens, input 10 in the terminal and press enter.