Skip to content

Network.Curl.withCurlDo should have type NFData a => IO a -> IO a? #18

@taktoa

Description

@taktoa

The documentation for Network.Curl.withCurlDo says:

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"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions