rustic_result

Result monad for Elixir inspired by Rust Result type (by linkdd)

Rustic_result Alternatives

Similar projects and alternatives to rustic_result

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better rustic_result alternative or higher similarity.

rustic_result reviews and mentions

Posts with mentions or reviews of rustic_result. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-09.
  • Switching to Elixir
    11 projects | news.ycombinator.com | 9 Nov 2023
    Self promotion 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 not types, but I'm waiting for set theoretic types to update those libs :)

  • Error Handling Patterns
    3 projects | news.ycombinator.com | 4 May 2023
    It's missing the Erlang/Elixir pattern of returning a tuple `{:ok, T}` or `{:error, E}`, where we can then use pattern matching, or `with` expressions, etc...

    To be fair, it is very similar to a `Result` type, which is why I made this library a while ago: https://github.com/linkdd/rustic_result

  • A new milestone for Letlang - Effect Handlers
    1 project | /r/ProgrammingLanguages | 13 Mar 2023
    I intend to add a pipeline operator similar to Elixir, to be used with an std::result module which will provide functions to ease writing such complex code. I may take inspiration on an Elixir library I wrote a while ago: https://github.com/linkdd/rustic_result
  • Elixir Railway Oriented Programming
    1 project | /r/elixir | 9 Mar 2023
    A while ago, I made this library https://github.com/linkdd/rustic_result
  • Go Replaces Interface{} with 'Any'
    10 projects | news.ycombinator.com | 14 Dec 2021
    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 completely replace the with statement (that was not the point) but it simplified a lot of code.

  • A note from our sponsor - InfluxDB
    www.influxdata.com | 29 Apr 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic rustic_result repo stats
5
21
5.3
2 months ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com