On 9/27/12 10:33 AM, Brent Yorgey wrote:That is an awesome question. Originally I tried:
On Thu, Sep 27, 2012 at 10:01:25AM -0700, Bryce Verdier wrote:
On 9/26/12 6:00 PM, Ertugrul Söylemez wrote:Do you need a type signature there at all?
Bryce Verdier <bryceverdier@gmail.com> wrote:Thanks for your hint, with a fair amount of head bashing against a
body <- L.try (simpleHttp "http://www.google.com") :: IO (EitherAlmost right, but your type signature is lying. =)
L.SomeException Data.ByteString.Lazy.Internal.ByteString)
Greets,
Ertugrul
wall I was able to figure this out. At the end of day I got :
body <- try (simpleHttp "http://www.google.com") :: GHandler
PlayHaven PlayHaven (Either SomeException ByteString)
-Brent