flow
Functional (and opinionated) errors handling in Clojure (by fmnoise)
failjure
Monadic error utilities for general use in Clojure(script) projects (by adambard)
flow | failjure | |
---|---|---|
3 | 5 | |
218 | 400 | |
- | - | |
4.4 | 1.1 | |
3 months ago | 7 months ago | |
Clojure | Clojure | |
Eclipse Public License 1.0 | Eclipse Public License 1.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
flow
Posts with mentions or reviews of flow.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-06-13.
-
How do I keep impure functions at the edges of the system when the domain logic determines if they get called in the first place?
Here the business logic of whether to fetch managed users or current manager is moved to a pure function. The actual fetching of the data from the db is a straightforward lookup table. data-get-login-form-from-request, data-get-session-data and success-response are pure. Using a library like flow, the entire if form can be written as a thread first, so that reduces the cyclomatic complexity further.
- Pact is a small library for chaining values through forms. It’s like a promise but much simpler.
-
Clojure for someone who's only seen statically typed languages?
3) Railway programming: clojure is made of a simple core and added functionality in provided through library.For railway programming there is failjure, flow, rop, either..
failjure
Posts with mentions or reviews of failjure.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-30.
-
Errors From Libraries (part 4/4)
Ohh I wasn't aware of failjure. That would have fit the previous post quite nicely. :)
-
How to handle errors or failed computations in clojure?
https://github.com/adambard/failjure provides an error monad. I never use it.
-
Clojure for someone who's only seen statically typed languages?
3) Railway programming: clojure is made of a simple core and added functionality in provided through library.For railway programming there is failjure, flow, rop, either..
-
Probably easy question: alternatives to early return
In particular the `reduced` and `reduced?` functions are the silver bullet I was looking for. Also very interesting is the failjure library, but it seems to prefer short-circuiting by default, and adding your own break-points, as /u/joinr has done brilliantly above isn't obvious to me as a beginner.
What are some alternatives?
When comparing flow and failjure you can also consider the following projects:
rop - Yet another Railway Oriented Programming in Clojure
farolero - Thread-safe Common Lisp style conditions and restarts for Clojure(Script) and Babashka.
PurefunctionPipelineDataflow - My Blog: The Math-based Grand Unified Programming Theory: The Pure Function Pipeline Data Flow with principle-based Warehouse/Workshop Model
anomalies-tools - Anomalies handling tools
penpot - Penpot: The open-source design tool for design and code collaboration
anomalies