Skip to content

Commit

Permalink
Update doc/manual/syntax.md
Browse files Browse the repository at this point in the history
Co-authored-by: jneem <joeneeman@gmail.com>
  • Loading branch information
yannham and jneem authored Mar 5, 2024
1 parent 8eb2aca commit b9e17c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/manual/syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -705,8 +705,7 @@ The optional annotation `<annot>` can include either:

A contract annotation and a default annotation can be combined.

**The presence or the absence of a contract annotation never changes the fact
that a pattern matches a value or not**. For example, both `{foo}`, `{foo |
**The presence or the absence of a contract annotation never changes whether or not a pattern matches a value**. For example, both `{foo}`, `{foo |
Number}` and `{foo | String}` match the value `{foo = "hello"}`. The difference
is that `{foo | Number}` will result in a later contract error if `foo` is ever
used. The contract annotation is merely a convenient way to apply a contract to
Expand Down

0 comments on commit b9e17c9

Please sign in to comment.