Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Crawling page and making json out of it (Ren? Kla?an)
----------------------------------------------------------------------
Message: 1
Date: Sun, 24 May 2015 16:43:30 +0100
From: Ren? Kla?an <[email protected]>
To: [email protected]
Subject: [Haskell-beginners] Crawling page and making json out of it
Message-ID:
<CAD8Jy_OaHc_jtPH7fyhbU3rTdX3WgD_0ycQ+X1i1L7=rez-...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi all,
I have a small example that opens page and creates a json out of it
https://gist.github.com/reneklacan/262eef04a3bc67607dd8
It works correctly and it returns desired results.
But I am sure there is a better way (or more Haskell way) how to write it.
Especially I don't really like how *getInfo* function looks like.
Get you please give me an advice how to make it more ellegant or tell me
what I'm doing wrong.
Thanks
Rene
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20150524/b7164f51/attachment-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 83, Issue 54
*****************************************