Skip to content

Commit

Permalink
Merge pull request #6032 from rodrigob/patch-4
Browse files Browse the repository at this point in the history
Typo fix: primtiives -> primitives
  • Loading branch information
bhansconnect authored Nov 21, 2023
2 parents afa072e + 964c83e commit 2afd9ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/content/platforms.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Roc platforms have a broader scope of responsibility than game engines or Web fr
* Tailoring memory management to that domain (more on this later)
* Providing all I/O primitives

In most languages, I/O primitives come with the standard library. In Roc, the [standard library](https://www.roc-lang.org/builtins/) contains only data structures; an application gets all of its I/O primtiives from its platform. For example, in the "Hello, World" application above, the `Stdout.line` function comes from the `basic-cli` platform itself, not from Roc's standard library.
In most languages, I/O primitives come with the standard library. In Roc, the [standard library](https://www.roc-lang.org/builtins/) contains only data structures; an application gets all of its I/O primitives from its platform. For example, in the "Hello, World" application above, the `Stdout.line` function comes from the `basic-cli` platform itself, not from Roc's standard library.

This design has a few benefits.

Expand Down

0 comments on commit 2afd9ca

Please sign in to comment.