mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
added roc check tip
This commit is contained in:
parent
a1dc13b352
commit
0eadec6c25
3 changed files with 7 additions and 1 deletions
|
@ -30,6 +30,8 @@ For NQueens, input 10 in the terminal and press enter.
|
||||||
|
|
||||||
[examples/benchmarks](examples/benchmarks) contains larger examples.
|
[examples/benchmarks](examples/benchmarks) contains larger examples.
|
||||||
|
|
||||||
|
**Tip:** when programming in roc, we recommend to execute `./roc check myproject/Foo.roc` before `./roc myproject/Foo.roc` or `./roc build myproject/Foo.roc`. `./roc check` can produce clear error messages in cases where building/running may panic.
|
||||||
|
|
||||||
## Applications and Platforms
|
## Applications and Platforms
|
||||||
|
|
||||||
Applications are often built on a *framework.* Typically, both application and framework are written in the same language.
|
Applications are often built on a *framework.* Typically, both application and framework are written in the same language.
|
||||||
|
|
|
@ -29,3 +29,5 @@
|
||||||
./roc examples/hello-world/Hello.roc
|
./roc examples/hello-world/Hello.roc
|
||||||
```
|
```
|
||||||
0. See [here](../README.md#examples) for the other examples.
|
0. See [here](../README.md#examples) for the other examples.
|
||||||
|
|
||||||
|
**Tip:** when programming in roc, we recommend to execute `./roc check myproject/Foo.roc` before `./roc myproject/Foo.roc` or `./roc build myproject/Foo.roc`. `./roc check` can produce clear error messages in cases where building/running may panic.
|
||||||
|
|
|
@ -11,3 +11,5 @@
|
||||||
cargo run examples/hello-world/Hello.roc
|
cargo run examples/hello-world/Hello.roc
|
||||||
```
|
```
|
||||||
4. See [here](../README.md#examples) for the other examples.
|
4. See [here](../README.md#examples) for the other examples.
|
||||||
|
|
||||||
|
**Tip:** when programming in roc, we recommend to execute `./roc check myproject/Foo.roc` before `./roc myproject/Foo.roc` or `./roc build myproject/Foo.roc`. `./roc check` can produce clear error messages in cases where building/running may panic.
|
Loading…
Add table
Add a link
Reference in a new issue