racket/collects/redex/tests/syn-err-tests/relation-definition.rktd
2011-08-05 07:19:23 -05:00

15 lines
393 B
Racket
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(#rx"expected the name of the relation"
([bad-def (define-relation syn-err-lang R)])
bad-def)
(#rx"expected a sequence of patterns separated by"
([subset ])
(define-relation syn-err-lang R subset))
(#rx"expected clause definitions"
([bad-def (define-relation syn-err-lang foo c)])
bad-def)
(#rx"expected a pattern"
([cross ×])
(define-relation syn-err-lang foo c cross))