Skip to content

Commit c38acfd

Browse files
authored
Fix minor typos in README.md
1 parent 5a632e9 commit c38acfd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ tagged tuples.
3434

3535
This library is my try at having a beautiful syntax for a *happy pipe*, that is, a pipe that expects `{:ok, _}`
3636
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.
3838

3939
So, for example, the following code
4040

@@ -59,7 +59,7 @@ use OkJose
5959
|> Pipe.ok
6060
```
6161

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
6363
it's just plain old Elixir piping. It's also very easy to define your own, as they are just
6464
case clauses.
6565

@@ -74,7 +74,7 @@ in the current lexical context.
7474

7575
##### [ok/2](https://hexdocs.pm/ok_jose/OkJose.Pipe.html#ok/2)
7676

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}`.
7878

7979
```elixir
8080
{:ok, filename}
@@ -161,12 +161,12 @@ to checkout these in particular:
161161
A growing library, also has a list of alternatives at their Readme.
162162

163163
- [`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)
165165
They are just a bit less-pipeable than OkJose, and more on the spirit of Elixir's `with`
166166

167167
- [`pit`](https://github.com/vic/pit)
168168
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.
170170

171171
## Is it any good?
172172

0 commit comments

Comments
 (0)