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

Use of bindings in deforestable forms raises error #195

Open
countvajhula opened this issue Feb 21, 2025 · 0 comments
Open

Use of bindings in deforestable forms raises error #195

countvajhula opened this issue Feb 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@countvajhula
Copy link
Collaborator

countvajhula commented Feb 21, 2025

(require qi/list)
(~> (3) (as high) (range high) (filter odd?) (map sqr))

results in the error:

racket-mode-repl:1:12: let: duplicate identifier
  at: high
  in: (let ((high undefined) (high undefined) (high undefined) (high undefined) (high undefined)) (qi0->racket (thread (thread (esc (λ (high6) (set! high high6))) ground) (esc ((lambda (proc) (lambda () (proc 0 high 1))) (contract (->* (real?) (real? real?) a...

There were some changes in syntax-spec-v2 re: bindings, so it's possible they might be connected.

@countvajhula countvajhula added the bug Something isn't working label Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant