Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redex-check doesn't bind patterns normally #207

Open
florence opened this issue Oct 19, 2019 · 0 comments
Open

redex-check doesn't bind patterns normally #207

florence opened this issue Oct 19, 2019 · 0 comments

Comments

@florence
Copy link
Contributor

In the program

#lang racket
(require redex/reduction-semantics)
(define-language L
  (n ::= 1))

(redex-check
 L n
 n)

I get the error n: unbound identifier pointing at what should be the binding occurence of n in the redex-check.

I would expect redex-check to behave more line define-term and give an error like:

n: illegal use of syntax
  value at phase 1: #<defined-term> in: n

pointing at the use of n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant