Search Haskell Channel Logs

Thursday, February 23, 2017

#haskell channel featuring c_wraith, miscyb,

miscyb 2017-02-23 13:08:46
i'm trying to use http-client, but my code stops executing when i reach an httpLbs call
miscyb 2017-02-23 13:09:15
it's working in an async thread, i have a bunch of print statements leading up to it but it just stops there
miscyb 2017-02-23 13:09:29
polling the async returns nothing so it's not done yet
miscyb 2017-02-23 13:09:35
anyone know how to debug this?
miscyb 2017-02-23 13:10:44
however if i wait on the async it runs correctly
c_wraith 2017-02-23 13:33:02
I'm very suspicious of the interaction between LBS and async
miscyb 2017-02-23 13:40:25
c_wraith: i've tried a few different things here, polling in a forever, and just doing a "threadDelay 1000000" both work fine
miscyb 2017-02-23 13:40:43
to be more accurate i'm doing all of this inside MomentIO from reacive banana
miscyb 2017-02-23 13:40:51
but i don't think that should matter
c_wraith 2017-02-23 13:42:23
I don't know what is going on - I don't know either library well enough. what I do know is that LBS has very weird implicit concurrency properties that might interfere with what async is doing.