mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-11 10:55:31 +03:00
Merge pull request #6866 from flmng0/patch-1
Update platforms page to match new syntax
This commit is contained in:
commit
3abc276937
@ -7,10 +7,10 @@ Something that sets Roc apart from other programming languages is its <span clas
|
|||||||
Here is a Roc application that prints `"Hello, World!"` to the command line:
|
Here is a Roc application that prints `"Hello, World!"` to the command line:
|
||||||
|
|
||||||
```roc
|
```roc
|
||||||
app "hello"
|
app [main] { pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br" }
|
||||||
packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br" }
|
|
||||||
imports [pf.Stdout, pf.Task]
|
import pf.Stdout
|
||||||
provides [main] to pf
|
import pf.Task
|
||||||
|
|
||||||
main =
|
main =
|
||||||
Stdout.line "Hello, World!"
|
Stdout.line "Hello, World!"
|
||||||
|
Loading…
Reference in New Issue
Block a user