README.md in elixirize-0.3.0 vs README.md in elixirize-0.4.0
- old
+ new
@@ -6,11 +6,11 @@
[![SayThanks.io](https://img.shields.io/badge/SayThanks.io-%E2%98%BC-1EAEDB.svg)](https://saythanks.io/to/danielpclark)
# Elixirize
This adds the `ᐅ` method to Ruby. It pipes in the returned value of the left as the first parameter of the
-Proc on the right.
+Proc _(or anything with `:call` defined)_ on the right.
### Unicode ᐅ
To enter ᐅ you need to:
@@ -53,11 +53,11 @@
add(40, 60).ᐅ method(:divide), 20
# => 5
```
-For fun I've also aliased λ to lambda; unicode 03bb.
+## Extra
Since Ruby is designed largely to call methods on the object that was returned
I've written the `~` method on `Symbol` to allow method calls on the returned
object rather than only being the first parameter passed in.
@@ -75,12 +75,12 @@
```
You can mix both behaviors without any issue.
This may seem counter intuitive as it's the same thing as just calling the method
-on the object, but consider this a noticable refactoring step. If you're designing
+on the object, but consider this a noticeable refactoring step. If you're designing
a project in a manner where you want results piped in as the first parameter then
-the tilde-Symbol will be your TODO reminder to convert/refactor how your code base is
+the tilde-symbol will be your TODO reminder to convert/refactor how your code base is
implemented.
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.