Skip to content

Commit

Permalink
be more clear regarding labels and define_combinator
Browse files Browse the repository at this point in the history
  • Loading branch information
jolmg committed Sep 15, 2020
1 parent 90f9e8f commit 345b933
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ between(lit("<"), lit(">"), lit("foo")).label
```

If we use `def` instead of `define_combinator`, then the label would be
that assigned by the outermost combinator. In the following case, it would
be that assigned by `<`.
that of its definition. In the following case, it would be that assigned by
`<`.

```ruby
def between(left, right, p)
Expand Down

0 comments on commit 345b933

Please sign in to comment.