Skip to content

Commit 4c161ed

Browse files
leafacrfindler
authored andcommitted
Document that relations work in reduction relations
As exemplified by the following program: ```racket #lang racket (require redex) (define-language L) (define-relation L [(r a)]) (define ⇒ (reduction-relation L (--> any it-holds (judgment-holds (r any))))) (apply-reduction-relation ⇒ (term a)) ;; => '(it-holds) (apply-reduction-relation ⇒ (term b)) ;; => '() ```
1 parent acc4e39 commit 4c161ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
(bind @#,ttpattern @#,tttterm)
3535
(bind/hidden @#,ttpattern @#,tttterm)
3636
(judgment-holds (judgment-form-id pat/term ...))
37+
(judgment-holds (relation-id @#,tttterm ...))
3738
(side-condition/hidden racket-expression)]
3839
[shortcuts (code:line)
3940
(code:line with shortcut ...)]

0 commit comments

Comments
 (0)