mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-20 07:17:50 +03:00
Fix typo in tutorial.md
The first example of an app module header included `provides main to pf` instead of the correct `provides [main] to pf` Signed-off-by: NoaVidovic <noavidovic0@gmail.com>
This commit is contained in:
parent
addd513528
commit
74ed31c5a9
@ -1373,7 +1373,7 @@ Let's take a closer look at the part of `main.roc` above the `main` def:
|
||||
app "hello"
|
||||
packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.3.2/tE4xS_zLdmmxmHwHih9kHWQ7fsXtJr7W7h3425-eZFk.tar.br" }
|
||||
imports [pf.Stdout]
|
||||
provides main to pf
|
||||
provides [main] to pf
|
||||
```
|
||||
|
||||
This is known as a _module header_. Every `.roc` file is a _module_, and there are different types of modules. We know this particular one is an _application module_ because it begins with the `app` keyword.
|
||||
|
Loading…
Reference in New Issue
Block a user