@@ -34,7 +34,7 @@ tagged tuples.
34
34
35
35
This library is my try at having a beautiful syntax for a * happy pipe* , that is, a pipe that expects ` {:ok, _} `
36
36
tuples to be returned by each piped function.
37
- If any piped function returns a non matched value, the remaining functions expecting an ` {:ok, _} ` value wont get executed.
37
+ If any piped function returns a non matched value, the remaining functions expecting an ` {:ok, _} ` value won't get executed.
38
38
39
39
So, for example, the following code
40
40
@@ -59,7 +59,7 @@ use OkJose
59
59
|> Pipe .ok
60
60
```
61
61
62
- The main advantage of the macros defined by OkJose is that you dont need to learn new syntax
62
+ The main advantage of the macros defined by OkJose is that you don't need to learn new syntax
63
63
it's just plain old Elixir piping. It's also very easy to define your own, as they are just
64
64
case clauses.
65
65
@@ -74,7 +74,7 @@ in the current lexical context.
74
74
75
75
##### [ ok/2] ( https://hexdocs.pm/ok_jose/OkJose.Pipe.html#ok/2 )
76
76
77
- Passes values down the pipe as long as they macth ` {:ok, value} ` .
77
+ Passes values down the pipe as long as they match ` {:ok, value} ` .
78
78
79
79
``` elixir
80
80
{:ok , filename}
@@ -161,12 +161,12 @@ to checkout these in particular:
161
161
A growing library, also has a list of alternatives at their Readme.
162
162
163
163
- [ ` happy ` ] ( https://github.com/vic/happy )
164
- Work on OkJose leadme to creating happy and later [ ` happy_with ` ] ( https://github.com/vic/happy_with )
164
+ Work on OkJose lead me to creating happy and later [ ` happy_with ` ] ( https://github.com/vic/happy_with )
165
165
They are just a bit less-pipeable than OkJose, and more on the spirit of Elixir's ` with `
166
166
167
167
- [ ` pit ` ] ( https://github.com/vic/pit )
168
168
A weird one, for transforming and matching data at every pipe step.
169
- I dont know what I was thinking while doing it, but maybe it can be of use to someone.
169
+ I don't know what I was thinking while doing it, but maybe it can be of use to someone.
170
170
171
171
## Is it any good?
172
172
0 commit comments