Re: [Haskell-cafe] TagSoup 0.9

2010-05-25 Thread Neil Mitchell
Mitchell [mailto:ndmitch...@gmail.com] Sent: Wednesday, May 19, 2010 12:19 PM To: Ralph Hodgson Cc: Daniel Fischer; haskell-cafe@haskell.org; Don Stewart Subject: Re: [Haskell-cafe] TagSoup 0.9 Hi Ralph, I was using TagSoup 0.8 with great success. On upgrading to 0.9 I have this error

RE: [Haskell-cafe] TagSoup 0.9

2010-05-23 Thread Ralph Hodgson
the code. -Original Message- From: Neil Mitchell [mailto:ndmitch...@gmail.com] Sent: Wednesday, May 19, 2010 12:19 PM To: Ralph Hodgson Cc: Daniel Fischer; haskell-cafe@haskell.org; Don Stewart Subject: Re: [Haskell-cafe] TagSoup 0.9 Hi Ralph, I was using TagSoup 0.8 with great

[Haskell-cafe] TagSoup 0.9

2010-05-19 Thread Ralph Hodgson
Hello Neil , I was using TagSoup 0.8 with great success. On upgrading to 0.9 I have this error: TQ\TagSoup\TagSoupExtensions.lhs:29:17: `Tag' is not applied to enough type arguments Expected kind `*', but `Tag' has kind `* - *' In the type synonym declaration for `Bundle'

Re: [Haskell-cafe] TagSoup 0.9

2010-05-19 Thread Malcolm Wallace
Neil says that the API of TagSoup changed in 0.9. All usages of the type Tag should now take a type argument, e.g. Tag String. Regards, Malcolm On Wednesday, May 19, 2010, at 08:05AM, Ralph Hodgson rhodg...@topquadrant.com wrote: ___

RE: [Haskell-cafe] TagSoup 0.9

2010-05-19 Thread Ralph Hodgson
[mailto:malcolm.wall...@me.com] Sent: Wednesday, May 19, 2010 1:48 AM To: rhodg...@topquadrant.com Cc: haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] TagSoup 0.9 Neil says that the API of TagSoup changed in 0.9. All usages of the type Tag should now take a type argument, e.g. Tag String. Regards

RE: [Haskell-cafe] TagSoup 0.9

2010-05-19 Thread Ralph Hodgson
[mailto:malcolm.wall...@me.com] Sent: Wednesday, May 19, 2010 1:48 AM To: rhodg...@topquadrant.com Cc: haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] TagSoup 0.9 Neil says that the API of TagSoup changed in 0.9. All usages of the type Tag should now take a type argument, e.g. Tag String. Regards

Re: [Haskell-cafe] TagSoup 0.9

2010-05-19 Thread Daniel Fischer
On Wednesday 19 May 2010 19:46:57, Ralph Hodgson wrote: Forgot to add: I now need to understand the following warnings on this line import Text.HTML.Download: In Text.HTML.Download, there's the following: {-| /DEPRECATED/: Use the HTTP package instead: import Network.HTTP

Re: [Haskell-cafe] TagSoup 0.9

2010-05-19 Thread Don Stewart
Or use things from the download-curl package, which provides a nice openURL function. daniel.is.fischer: On Wednesday 19 May 2010 19:46:57, Ralph Hodgson wrote: Forgot to add: I now need to understand the following warnings on this line import Text.HTML.Download: In

Re: [Haskell-cafe] TagSoup 0.9

2010-05-19 Thread Neil Mitchell
Hi Ralph, I was using TagSoup 0.8 with great success. On upgrading to 0.9 I have this error: TQ\TagSoup\TagSoupExtensions.lhs:29:17: `Tag' is not applied to enough type arguments Expected kind `*', but `Tag' has kind `* - *' In the type synonym declaration for `Bundle' Failed,

Re: [Haskell-cafe] TagSoup 0.9

2010-05-19 Thread Henning Thielemann
Don Stewart schrieb: Or use things from the download-curl package, which provides a nice openURL function. The openURL function from TagSoup is lazy, which the proposed replacement 'getResponseBody = simpleHTTP (getRequest x)' is not. Is the openURL function from download-curl lazy?

Re: [Haskell-cafe] TagSoup 0.9

2010-05-19 Thread Don Stewart
schlepptop: Don Stewart schrieb: Or use things from the download-curl package, which provides a nice openURL function. The openURL function from TagSoup is lazy, which the proposed replacement 'getResponseBody = simpleHTTP (getRequest x)' is not. Is the openURL function from