Merge pull request #6866 from flmng0/patch-1

Update platforms page to match new syntax
This commit is contained in:
Sam Mohr 2024-07-04 22:09:36 -07:00 committed by GitHub
commit 3abc276937
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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!"