简介
静态类型的函数式语言,Result 类型分别携带成功和错误的数据,不依赖常见的基于异常的 API。
使用这门语言的成员
参与的讨论
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…
`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,…
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…