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

Stepper does not step for check-satisfied #232

Open
shhyou opened this issue Nov 16, 2024 · 1 comment
Open

Stepper does not step for check-satisfied #232

shhyou opened this issue Nov 16, 2024 · 1 comment
Assignees
Labels

Comments

@shhyou
Copy link
Collaborator

shhyou commented Nov 16, 2024

I am not sure if it is just me or for everyone. When trying to step this program:

#lang htdp/isl+
(define (my-add x)
  (lambda (y)
    (+ x y)))
(check-satisfied (my-add 5) procedure?)

The stepper expands check-satisfied and steps through its implementation. Moreover, adding this test:

(check-satisfied (my-add 5)
                 (lambda (g)
                   (and (procedure? g)
                        (= (g 3) 8))))

raises the error

lookup-binding: variable not found in environment: p?
@shhyou
Copy link
Collaborator Author

shhyou commented Nov 18, 2024

(This is the case since at least v8.8.)

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

No branches or pull requests

2 participants