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

ap cancellation doesn't propagate to child branches #116

Open
leonoel opened this issue Sep 22, 2024 · 2 comments
Open

ap cancellation doesn't propagate to child branches #116

leonoel opened this issue Sep 22, 2024 · 2 comments

Comments

@leonoel
Copy link
Owner

leonoel commented Sep 22, 2024

Slack thread : https://clojurians.slack.com/archives/CL85MBPEF/p1726679710600169

Repro :

(def ps
  ((m/ap
     (m/amb= 1 2 3)
     (try (m/? m/never)
          (catch missionary.Cancelled _
            (m/amb))))
   #(prn :step) #(prn :done)))

(ps)   ;; should print :done
@erichocean
Copy link

Does b40 fix this?

@leonoel
Copy link
Owner Author

leonoel commented Nov 14, 2024

No, it's still a bug

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

2 participants