Comments (12)
Well it's not too late! 😆
Did you want to go ahead and do one, or I can do it if you want.
from ok.
PR submitted. Hope it helps. 😄
from ok.
add to errors and exception handling and macros section
from ok.
I wanted to give you some possible descriptions:
Straight from the readme:
- OK - Elegant error handling in Elixir, with result monads.
In errors section, explicitly state keywords "error", "with", "happy path", and "pipe":
- OK - Elegant error handling with result monads, featuring a powerfully terse
with
construct and a happy path pipe operator.
In macros section, explicitly use "macro".
- OK - Macros for elegant happy path coding, maximizing power and readability.
I just wanted to list some alternatives.
from ok.
Like the specific taglines. However I'm not sure if awesome elixir is still being managed from the github repo. Have had no reply to my comments on their issue for OK
from ok.
I was wondering too, and that is why I was thinking of just doing a PR. If you look at the closed PRs, they are pretty recent, like this one.
from ok.
Maybe that's what I should have done.
from ok.
If you have the time go ahead. cheers. 🎉
from ok.
Thanks @bill-mybiz
from ok.
I will have to try putting my web framework up eventually
from ok.
If you're referring to Raxx, I'm sure you could get that added whenever you want. I'm overall for building up from minimal libs, but I personally am terribly ignorant of most things webserver so I can't help much there. Although, 🤔, I am also looking into another front end to my ibGib engine using Bucklescript, and it may be interesting to have another app in the umbrella with Raxx though. Possibly a stateless web server would be appropriate, as all ibGib happenings are themselves pure functions with the ibGib data records containing append-only immutable data (similar to an event store). It's conceivable I could help you with Raxx's feature set and documentation from the POV of a new user coming to the library.
Regardless, free free to ping me if you ever want me to proofread any documentation for it. I think the GitHub "review" mechanism allows this? So I think you would do a PR for Raxx, and then ping me in the PR. I would then do a review. Something like that...
My main priority for OK right now is to get rid of those compiler warnings. Since I'm loving it so much, I'm using it ubiquitously now and the warnings are piling up! After that, I was thinking of looking to investigate the guard clauses, as that is a stumbling block wrt refactoring existing native with
blocks.
You have a motivated believer here in OK for sure! 😆
from ok.
I do mean Raxx (also Tokumei). thanks for the offer of proof reading.
Don't worry, if you naturally find a place to use it later on, then help with the docs be great. Don't force it tho. It's quite a lot larger project than OK so it's far more beta i.e. still probably will have you rootling around in erlang to debug bits if you use it now.
I was happy with OK when I released 1.0 I will have to do a bit more work before I get to 1.0 with Raxx
from ok.
Related Issues (20)
- Alternative syntax or some sugar HOT 3
- Suggestion: Allow Only Pipes in OK.With HOT 11
- Article on errors vs exceptions HOT 1
- Suggestion/Question regarding OK.for after block HOT 5
- A module "Foo" is documented HOT 1
- Regular pipe after multiple OK pipes trigger multiple function calls HOT 5
- Nicer warnings for missing clauses HOT 1
- Does OK.with handle raised errors? HOT 13
- Dialyzer complains on `~>>` HOT 3
- Clarify semantics of OK.try rescue clause HOT 5
- README improvement to OK.success and OK.failure HOT 4
- Add mapM / sequence to OK. HOT 2
- Bind error for `~>>`
- Implement a map HOT 1
- Version 2.0 HOT 1
- use OK.Pipes HOT 1
- can I match the return text from the touple {:error, text} in case of error HOT 3
- Proposal: add `ok?` and `error?` methods HOT 3
- Allowing bare :ok and :error values HOT 3
- Result Type
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ok.