Skip to content

silicium14/stdlib

 
 

Repository files navigation

stdlib

GitHub release Discord chat CI

Gleam's standard library! Documentation available on HexDocs.

Installation

Add gleam_stdlib to the deps section of your rebar.config or mix.exs

{deps, [
    {gleam_stdlib, "~> 0.17.1"}
]}
defp deps do
  [
    {:gleam_stdlib, "~> 0.17.1"},
  ]
end

Usage

Import the modules you want to use and write some code!

import gleam/string
import gleam/list.{contains}

fn usage() {
  string.append("str", "ing")
}

fn more_usage() {
  contains([1, 2, 3], any: 2)
}

About

🎁 Gleam's standard library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 92.0%
  • JavaScript 4.4%
  • Erlang 3.5%
  • Shell 0.1%