mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-22 00:09:33 +03:00
5dafad506e
List growth |
||
---|---|---|
.. | ||
cli | ||
gui | ||
parser | ||
ruby-interop | ||
static-site-gen | ||
swiftui | ||
.gitignore | ||
helloWorld.roc | ||
README.md |
Examples
Run examples as follows:
-
Navigate to this
examples
foldercd examples
-
Run a particular example, such as Hello World:
roc run hello-world/main.roc
crates/cli_testing_examples/benchmarks/
contains some larger examples.
Some examples like crates/cli_testing_examples/benchmarks/NQueens.roc
require input after running.
For NQueens, input 10 in the terminal and press enter.