gleaf

Gleam apply function


Keywords
apply, function, gleam
License
Other

Documentation

gleaf

Package Version Hex Docs

Gleam apply function

gleam add gleaf
import gleaf

pub fn main() {
  [1, 2, 3]
  |> gleaf.apply(fn(a, b, c) { a + b + c }) // 6
}

Further documentation can be found at https://hexdocs.pm/gleaf.

Development

gleam run   # Run the project
gleam test  # Run the tests
gleam shell # Run an Erlang shell