Network.Curl
From HaskellWiki
(Difference between revisions)
(Added a link to a blog entry) |
m |
||
| (9 intermediate revisions 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> :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]] | ||
| + | [[Category:Packages]] | ||
Current revision
This page collections documentation and examples about the library Network.Curl, (docs) a curl binding for Haskell, developed at Galois, Inc.
1 Trivial Use
$ ghci Prelude> :m Network.Curl Prelude Network.Curl> let html = curlGetString "http://www.haskell.org/" []
2 External Examples and Tutorials
- A small example using the feed library, to simplify RSS parsing.
