Difference between revisions of "Network.Curl"
Jump to navigation
Jump to search
(stub page for curl bindings) |
m |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
− | |||
This page collections documentation and examples about the library |
This page collections documentation and examples about the library |
||
[http://hackage.haskell.org/cgi-bin/hackage-scripts/package/curl-1.3.2 Network.Curl], ([http://code.haskell.org/~dons/docs/curl/ docs]) a [http://curl.haxx.se/ curl] binding for Haskell, |
[http://hackage.haskell.org/cgi-bin/hackage-scripts/package/curl-1.3.2 Network.Curl], ([http://code.haskell.org/~dons/docs/curl/ docs]) a [http://curl.haxx.se/ curl] binding for Haskell, |
||
developed at Galois, Inc. |
developed at Galois, Inc. |
||
+ | |||
+ | <h2>Trivial Use</h2> |
||
+ | <pre> |
||
+ | $ ghci |
||
⚫ | |||
+ | Prelude Network.Curl> let html = curlGetString "http://www.haskell.org/" [] |
||
+ | </pre> |
||
+ | |||
+ | ==External Examples and Tutorials== |
||
+ | |||
+ | * [http://blog.tupil.com/a-small-mashup-of-upcoming-and-lastfm-in-haskell/ A small mashup of Upcoming and Last.fm, in Haskell] |
||
+ | |||
+ | * [http://hpaste.org/8521 A small example similar to above for retrieving and processing rss in a trivial fashion using Network.Curl and Text.XML.Light]</li> |
||
+ | |||
+ | * [http://hpaste.org/8521#a1 A small example] using the [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/feed feed] library, to simplify RSS parsing. |
||
+ | |||
+ | [[Category:Web]] |
||
+ | [[Category:Packages]] |
Revision as of 16:36, 28 November 2008
This page collections documentation and examples about the library Network.Curl, (docs) a curl binding for Haskell, developed at Galois, Inc.
Trivial Use
$ ghci Prelude> :m Network.Curl Prelude Network.Curl> let html = curlGetString "http://www.haskell.org/" []
External Examples and Tutorials
- A small example using the feed library, to simplify RSS parsing.