Skip to content

Commit

Permalink
Typo fix: primtiives -> primitives
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigob authored Nov 20, 2023
1 parent ad5ed57 commit 964c83e
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 964c83e

Please sign in to comment.