[Haskell-beginners] confused by <-

Ertugrul Söylemez es at ertes.de
Thu Sep 27 03:00:37 CEST 2012


Bryce Verdier <bryceverdier at gmail.com> wrote:

>      body <- L.try (simpleHttp "http://www.google.com") :: IO (Either 
> L.SomeException Data.ByteString.Lazy.Internal.ByteString)

Almost right, but your type signature is lying. =)


Greets,
Ertugrul

-- 
Not to be or to be and (not to be or to be and (not to be or to be and
(not to be or to be and ... that is the list monad.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/beginners/attachments/20120927/85966d53/attachment.pgp>


More information about the Beginners mailing list