Skip to content

Commit 4184d5e

Browse files
authored
Merge pull request #211 from spikefoo/fix-grammar
Fix grammar in design guidelines
2 parents 4d1602c + 7656792 commit 4184d5e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/frontend/Page/DesignGuidelines.elm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,17 +185,17 @@ infix operators are typically a bad idea.
185185
* They usually offer no insight into what they actually do. To the uninitiated,
186186
things like `(<*>)` and `(!?)` are meaningless.
187187
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
189189
represents its meaning in a very direct way, like `(<~)`. In this case, it is still
190190
recommended that you do not add the infix operator.
191191
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
193193
recommended set of infix operators at the end of your library documentation.
194194
Experienced users can go see if they like them and define them if they really want.
195195
That way the API can be nice and human readable *and* encourage its users to write code
196196
that is nice and human readable.
197197
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
199199
infix operator. Add them in a separate module. When someone sees an infix operator
200200
they are unfamiliar with, they can scan the imports for a `Whatever.Infix` module
201201
and limit the scope of their annoying search for your dumb operator.

0 commit comments

Comments
 (0)