Skip to content

Commit 699d997

Browse files
committed
fix docs
closes #273
1 parent 10b9944 commit 699d997

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

redex-doc/redex/scribblings/ref/reduction-relations.scrbl

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,10 @@ This accepts a reduction, a language, the name of a
217217
non-terminal in the language and returns the compatible
218218
closure of the reduction for the specified non-terminal.
219219

220-
In the below example, @racket[_r] is intended to calculate a boolean @racket[or].
221-
Since @tt{r} does not recursively break apart its input, it will not reduce
222-
subexpressions within a larger non-matching expression @tt{t}.
220+
In the below example, @racket[addition-without-context]
221+
contains two rules that calculate sums. But, since it
222+
requires a @tt{+} at the top level, it will not reduce
223+
subexpressions within a larger non-matching expression.
223224

224225
@examples[
225226
#:label #f
@@ -247,8 +248,8 @@ subexpressions within a larger non-matching expression @tt{t}.
247248
]
248249

249250
The @racket[compatible-closure] operator allows us to close
250-
@racket[_addition-without-context] over all nested @racket[_e]
251-
contexts and then we can use it to find the sum.
251+
@racket[addition-without-context] over all nested @racket[e]
252+
contexts and then we can use it to find nested sums.
252253

253254
@examples[
254255
#:label #f

0 commit comments

Comments
 (0)