Gleam

Gleam is as Programming language that compiled into Erlang or JavaScript.

Gleam
The Gleam programming language
Gleam favicon https://gleam.run/
Gleam
  • type-safe
  • Reliable and scalable
  • Ready when you are
  • Here to help
  • Multilingual

gleam-jp (scrapbox)

gleam-jp
逆引きGleam / settings / このプロジェクトへの貢献方法 / Gleam標準ライブラリv0.40.0における破壊的変更の説明と対応方法 / Gleamで困ったときは / GleamのHTTP / Gleamのテスト / Erlang VM / GleamとJWT / Hex.pm HTTP API / Comamoca / Gleamの文字列処理 / Gleam / Gleamで日
gleam-jp favicon https://scrapbox.io/gleam-jp
gleam-jp

Gleam can be called from Erlang, and Erlang can be called from gleam.
Same for Elixir.

Gleam has no function below:

  • for, while statement
  • if statement
  • non-local exits
  • class

Gleam has:

  • pattern matching
  • result type
  • pipe

Gleam compiler is written in Rust.

sample code:

import gleam/io

pub fn main() {
  io.println("Hello from sample!")
}

refs:

TypeScriptユーザーに贈るGleam入門
TypeScriptユーザーに贈るGleam入門 favicon https://zenn.dev/comamoca/articles/gleam-tour-for-typescript-user
TypeScriptユーザーに贈るGleam入門
© 2024-PRESENT ubugeeei. All rights reserved.