mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
![]() Bumps [nix](https://github.com/nix-rust/nix) from 0.20.0 to 0.20.2. - [Release notes](https://github.com/nix-rust/nix/releases) - [Changelog](https://github.com/nix-rust/nix/blob/v0.20.2/CHANGELOG.md) - [Commits](https://github.com/nix-rust/nix/compare/v0.20.0...v0.20.2) --- updated-dependencies: - dependency-name: nix dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.. | ||
algorithms | ||
benchmarks | ||
breakout | ||
false-interpreter | ||
gui | ||
hello-world | ||
interactive | ||
platform-switching | ||
ruby-interop | ||
.gitignore | ||
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
examples/benchmarks/
contains some larger examples.
Some examples like examples/benchmarks/NQueens.roc
require input after running.
For NQueens, input 10 in the terminal and press enter.