Skip to content

Commit c0b8786

Browse files
authored
Update README.md
1 parent b84dd96 commit c0b8786

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# CallMode
22

3-
Function calls with commas and parentheses? Over it. Call Mode is here to break free.
3+
Function calls with commas and parentheses? Blasphemy. Call Mode is here to help you break free.
44

5-
Activate Call Mode in the REPL with a closing parenthesis, `)`, marking the end of our bond with legacy syntax.
5+
Activate Call Mode in the REPL with a closing parenthesis, `)`, symbolizing the end of our bond with the obsolete legacy syntax.
66

77
```julia
88
julia> using CallMode
@@ -14,7 +14,7 @@ julia> mapreduce(abs2, +, 1:5; init=1) # clunky and verbose
1414
56
1515
```
1616

17-
Writing `Base.:+` is necessary because `+` would otherwise run `+(abs2, 1)`. One could alternatively use `(+)`, at the cost of using parentheses.
17+
A qualified `Base.:+` is necessary, as `abs2 + 1:5` would be parsed as `(abs2 + 1):5`. One could alternatively use `(+)`, at the cost of using parentheses — ew.
1818

1919
The package also exports the `@call` macro, in case you don't even want to use `)` to activate Call Mode:
2020

0 commit comments

Comments
 (0)