mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-15 04:10:14 +03:00
32f63f46a6
Ruby interop example |
||
---|---|---|
.. | ||
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.