-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Force, rentrent promise promise/e (or, pam/e is too strict) #4
Comments
For now I found data/enumerate/unsafe, and my program seems to work fine in it. |
A smaller program breaks too:
On Wed, Mar 2, 2016 at 2:00 PM, Leif Andersen [email protected]
Jay McCarthy
And out of small things proceedeth that which is great." |
I just got back to looking into this and I'm not seeing the error anymore, although I think I did see if when Leif first posted this. Maybe one of the compiler optimization fixes fixed it? |
I'm on commit 509da64135f412acd8522747daa3568524ac59ae and I have the error. On Wed, Mar 9, 2016 at 6:06 PM, Robby Findler [email protected]
Jay McCarthy
And out of small things proceedeth that which is great." |
I'm two days ahead of you, but I don't really see any obvious commits that delay/e-expression: broke its own contract promised: two-way-enum? produced: #<infinite-one-way-enum...> in: an and/c case of
contract from: /Users/robby/tmp.rkt blaming: /Users/robby/tmp.rkt (assuming the contract is correct) at: /Users/robby/tmp.rkt:7.0 context...: /Users/robby/git/exp/plt/racket/collects/racket/contract/private/blame.rkt:156:0: /Users/robby/git/exp/plt/racket/collects/racket/private/promise.rkt:104:10 /Users/robby/git/exp/plt/racket/collects/racket/private/more-scheme.rkt:265:2: /Users/robby/git/exp/plt/racket/collects/racket/private/promise.rkt:96:0: /Users/robby/git/exp/plt/extra-pkgs/data/data-enumerate-lib/data/enumerate/private/core.rkt:1076:9 /Users/robby/tmp.rkt: [running body] |
I get
If you expect these programs to both error, how do you think we should Jay On Wed, Mar 9, 2016 at 7:01 PM, Robby Findler [email protected]
Jay McCarthy
And out of small things proceedeth that which is great." |
I still don't see why the error went away for me, but the obvious thing to guess is that something happened in the two days of git commits. And yes, I did indeed see that error before. Meanwhile, here's the program I think that you wanted?
|
I have the following program:
And when I run it, I get:
I suspect the problem is related to the inner pam/e, because when I turn the inner expression:
Into:
expr/e
the program runs normally.The text was updated successfully, but these errors were encountered: