stdlib

<img src="https://img.shields.io/github/release/gleam-lang/stdlib" alt="GitHub release"><img src="https://img.shields.io/discord/768594524158427167?color=blue" alt="Discord chat">

CI

Gleam's standard library! Documentation available on HexDocs.

Installation

Add gleam_stdlib to your Gleam project

gleam add gleam_stdlib

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() {
  [1, 2, 3]
  |> contains(any: 2)
}