On my never ending search for improvement, I have decided to adopt
mix format in one of my personal projects.
The problem here is that
mix format and the
rop library don’t play nice together. The library defines as a macro the operator
>>>, which is also the same operator used for bitwise operations in Elixir.
So the code does not get properly formatted. Ever.
I have tried to contact the maintainer of the project via the project page by creating issues, but to no avail. The project has also not been updated for several years now which leads to me to think its sunny days are long behind it.
Instead of cloning the project and doing a duplicate of someone else’s work (albeit with some changes and fixes) I have decided it would be preferable to look for another library.
I am looking for Monad libraries in Elixir that:
- work with
mix format(this means the pipeline operators must be one of elixir/formatter.ex at v1.11.4 · elixir-lang/elixir · GitHub)
- have an error monad that allows me to pipe values like in Rop
- the project must not be archived
Thus I have found the following options:
Which is not a lot …
Cloning the library in question to fix it is not totally out of question, however unless I add some serious heat to the project I see it more as polluting the hex archive with a duplicate of something that already exists.
- what would you do in my situation?
- what other monad / fp libraries do you know?