linkdd/rustic_result
View on GitHub ↗ ★ 22 Elixir
Result monad for Elixir inspired by Rust Result type
3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2021-12-14 · latest 2023-11-10
20082026
-
…moment: If you enjoy the Result/Either type and API in Rust, I made this project just for this: https://github.com/linkdd/rustic_result I also made https://github.com/linkdd/rustic_maybe/tree/main for an Option/Maybe type. NB: Those are…
comment by linkdd · 2023-11-10 · in Switching to Elixir -
…be fair, it is very similar to a `Result<T, E>` type, which is why I made this library a while ago: https://github.com/linkdd/rustic_result
comment by linkdd · 2023-05-04 · in Error Handling Patterns -
I also made a library for working with `{:ok, value}` and `{:error, reason}` in Elixir: https://github.com/linkdd/rustic_result Thanks to the pipeline operator and pattern matching, it makes pretty easy to read pipelines. It does not…
comment by linkdd · 2021-12-14 · in Go Replaces Interface{} with 'Any'