Skip to content

Commit

Permalink
More minor documentation updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpark committed Sep 19, 2017
1 parent 6fcb0ae commit 8fabbe4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -521,9 +521,9 @@ test whether the bound values satisfy some predicate.
A `when` clause takes a lazy expression, and invokes the handler only
if the expression evaluates to `true`. A lazy expression is an expression
formed with identifier patterns. For example, given an identifier `x`,
the expression `x % 5 == 0` is a lazy expression where the `x` is filled
in by the value that the identifier `x` matches.
formed with identifier patterns. For example, given an identifier pattern
`x`, the expression `x % 5 == 0` is a lazy expression where the `x` is
filled in by the value that the identifier `x` matches.
#### Requirements
Expand All @@ -532,7 +532,7 @@ convertible to `bool`.
#### Syntax
- `pattern(<pattern>...).when(<lazy_expr>)`
- `.when(<lazy_expr>)`
#### Examples
Expand Down

0 comments on commit 8fabbe4

Please sign in to comment.