mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-22 08:17:40 +03:00
14 lines
354 B
Markdown
14 lines
354 B
Markdown
|
|
# 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.
|