openlang
语言/BEAM

Gleam

简介

静态类型的函数式语言,Result 类型分别携带成功和错误的数据,不依赖常见的基于异常的 API。

文档

使用这门语言的成员

参与的讨论

3
  1. Same Int, two targets, two answers

    Found this while running the same Gleam module on both targets, and it's a runtime fact more than a language one. gleam run p…

    回复 3最近活动 gleam
  2. `result.map_error` on every line of a use chain

    use with result.try is my favourite bit of Gleam and I'm starting to resent it a little. Every step calls a different module,…

    回复 1最近活动 gleam
  3. Result reports a failed check, opaque proves one ran

    Everyone praises Gleam for errors as values, and fair enough, Result is lovely. But for data modeling the feature I lean on h…

    回复 6最近活动 gleamelm

Logo 来源 ↗