-
Notifications
You must be signed in to change notification settings - Fork 12
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
On the delay-recommendation in Hang / Stack Overflow -section #24
Comments
I have never encountered a scenario where |
Yeah, I would say that any time you're using |
Ok thanks @ElvishJerricco @ryantrinkle , luckily the title of this issue is ok as should the whole delay-section/recommendation be revised to reflect what you wrote above? This doc is something that people probably will read and it would be a bit sad if it instructs to apply bad habits. (Or, is the delay just meant to be a temporary solution to find out where the problem is? Or is there some other way/idea on how to use delay in that kind of situations? If yes, then there probably still (And now I have to find out where I used that delay and try to fix it.) |
Is there any chances to extend the example so that it would also show, how to apply the
delay
,at hang-stack-overflow-section?
The
delay
eatsNominalDiffTime
and it is not outright obvious, what value it should be given.I had a this kind of situation, where
ev2 <- delay 0 ev1
worked and was required. The runtime errors atghci
referred to "bag -problems in Spider/Internal" and once to "ghc loop" when I was doing changes / trying to find a working combination.So,
delay
? I mean, why therec
-block isn't enough as such as shown at the moment?delay
? Is 0 ok?BTW: it seems that those
delay
s area needed every now and then. If 0 is ok and enough in this kind of situations, is there room forframeDelay = delay 0
in the reflex-lib? (With the idea that it wouldn't confuse the user? The proposed name here probably isn't good.)The text was updated successfully, but these errors were encountered: