Difference between revisions of "Network.Curl"

From HaskellWiki
Jump to navigation Jump to search
m
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Network.Curl ==
 
 
 
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,
Line 6: Line 4:
   
 
<h2>Trivial Use</h2>
 
<h2>Trivial Use</h2>
  +
<pre>
  +
$ ghci
 
Prelude> :m Network.Curl
  +
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]]
<h2>External Examples and Tutorials</h2>
 
  +
[[Category:Packages]]
<ul>
 
<li>[http://blog.tupil.com/a-small-mashup-of-upcoming-and-lastfm-in-haskell/ A small mashup of Upcoming and Last.fm, in Haskell]</li>
 
</ul>
 

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