Skip to content

fails to build with Win32-2.6 #309

@joeyh

Description

@joeyh
C:\Users\jenkins\AppData\Local\Temp\stack4956\http-client-0.5.7.0\Network\HTTP\Proxy.hs:177:43: error:
    * Couldn't match type `Maybe [Char]' with `[Char]'
      Expected type: String
        Actual type: Maybe [Char]
    * In the second argument of `regQueryValue', namely
        `(Just "ProxyServer")'
      In a stmt of a 'do' block:
        server <- regQueryValue hkey (Just "ProxyServer")
      In the expression:
        do { server <- regQueryValue hkey (Just "ProxyServer");
             exceptions <- try $ regQueryValue hkey (Just "ProxyOverride") ::
                             IO (Either IOException String);
             return $ Just (server, either (const "") id exceptions) }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions