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

generate-term from reduction relation bypasses #:domain. #214

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

generate-term from reduction relation bypasses #:domain. #214

florence opened this issue Dec 19, 2019 · 0 comments

Comments

@florence
Copy link
Contributor

Concider:

#lang racket
(require redex/reduction-semantics)
(define-language L)
(define r
  (reduction-relation
   L
   #:domain 1
   (--> any any)))

(generate-term #:source r 5)

This will generate things like, say strings, which are not 1. I would expect this generation to, at least, fail when it attempts to generate a term outside of the domain of the relation.

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