Initial commit
This commit is contained in:
commit
a6272848f9
379 changed files with 74829 additions and 0 deletions
34
build/packages/gleam_stdlib/README.md
Normal file
34
build/packages/gleam_stdlib/README.md
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# stdlib
|
||||
|
||||
[](https://hex.pm/packages/gleam_stdlib)
|
||||
[](https://hexdocs.pm/gleam_stdlib/)
|
||||
[](https://discord.gg/Fm8Pwmy)
|
||||
|
||||
Gleam's standard library!
|
||||
Documentation available on [HexDocs](https://hexdocs.pm/gleam_stdlib/).
|
||||
|
||||
## Installation
|
||||
|
||||
Add `gleam_stdlib` to your Gleam project.
|
||||
|
||||
```sh
|
||||
gleam add gleam_stdlib
|
||||
```
|
||||
```gleam
|
||||
import gleam/io
|
||||
|
||||
pub fn greet(name: String) -> Nil {
|
||||
io.println("Hello " <> name <> "!")
|
||||
}
|
||||
```
|
||||
|
||||
## Targets
|
||||
|
||||
Gleam's standard library supports both targets: Erlang and JavaScript.
|
||||
|
||||
### Compatibility
|
||||
|
||||
This library is compatible with all versions of Erlang/OTP 26 and higher,
|
||||
as well as all NodeJS, Deno, Bun, and major browsers that are currently
|
||||
supported by their maintainers. If you have a compatibility issue with
|
||||
any platform open an issue and we'll see what we can do to help.
|
||||
Loading…
Add table
Add a link
Reference in a new issue