Should be used once to wrap all uses of libcurl. WARNING: the argument should not return before it is completely done with curl (e.g., no forking or lazy returns)
If a lazy return is problematic, shouldn't this function call fmap deepseq on the IO a "callback"?
The documentation for Network.Curl.withCurlDo says:
If a lazy return is problematic, shouldn't this function call
fmap deepseq
on theIO a
"callback"?