File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -185,17 +185,17 @@ infix operators are typically a bad idea.
185
185
* They usually offer no insight into what they actually do. To the uninitiated,
186
186
things like `(<*>)` and `(!?)` are meaningless.
187
187
188
- Now lets assume you have a really great infix operator, an operator that actually
188
+ Now let's assume you have a really great infix operator, an operator that actually
189
189
represents its meaning in a very direct way, like `(<~)`. In this case, it is still
190
190
recommended that you do not add the infix operator.
191
191
192
- Okay, but lets say you want to do it anyway. One way to do it is to provide a
192
+ Okay, but let's say you want to do it anyway. One way to do it is to provide a
193
193
recommended set of infix operators at the end of your library documentation.
194
194
Experienced users can go see if they like them and define them if they really want.
195
195
That way the API can be nice and human readable *and* encourage its users to write code
196
196
that is nice and human readable.
197
197
198
- Okay, but lets say you just don't care about recommendations and you have a great
198
+ Okay, but let's say you just don't care about recommendations and you have a great
199
199
infix operator. Add them in a separate module. When someone sees an infix operator
200
200
they are unfamiliar with, they can scan the imports for a `Whatever.Infix` module
201
201
and limit the scope of their annoying search for your dumb operator.
You can’t perform that action at this time.
0 commit comments