[Haskell-beginners] Need help with HXT
Philippe Sismondi
psismondi at arqux.com
Fri Feb 21 05:54:37 UTC 2014
Ah, beauty, thanks. I should have thought of that.
Muchas Gracias.
- P -
On 2014-02-21, at 12:43 AM, Vlatko Basic <vlatko.basic at gmail.com> wrote:
> Hi Philippe,
>
> Have you taken a look at [1]
>
> That's what actually gets called from [2]
>
>
> [1]: http://hackage.haskell.org/package/curl-1.3.8/docs/Network-Curl.html
> [2]: http://hackage.haskell.org/package/hxt-curl-9.1.1/docs/src/Text-XML-HXT-Arrow-LibCurlInput.html#withCurl
>
> Best regards,
>
> vlatko
>
>
>
> -------- Original Message --------
> Subject: Re: [Haskell-beginners] Need help with HXT
> From: Philippe Sismondi <psismondi at arqux.com>
> To: The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell <beginners at haskell.org>
> Date: 20.02.2014 22:48
>
>>
>> On 2014-02-20, at 1:49 PM, Michael Orlitzky <michael at orlitzky.com> wrote:
>>
>>> On 02/16/2014 09:34 AM, Philippe Sismondi wrote:
>>>
>>> I can't be sure, but the 'Attributes' type is a list of 2-tuples that
>>> contain... something. I would try the empty list and see what happens.
>>> For example,
>>>
>> Thanks, Michael. I can get withCurl to work when I supple an empty list, but I am guessing that the curl options allow more control. There is a link that purports to document curl and http options, but the links are broken. I contacted Uwe Schmidt (a prof who spearheaded development of HXT, I think). He replied to say that he would check into it when he has time.
>>
>> I may have to plunge into the source code to see how curl and/or http actually get called if nobody restores the broken links.
>>
>> Meanwhile thanks for the reply.
>>
>> - P -
>>
>>> readDocument [ withCurl [] ] "http://example.com/some.xml"
>>>
>>> _______________________________________________
>>> Beginners mailing list
>>> Beginners at haskell.org
>>> http://www.haskell.org/mailman/listinfo/beginners
>>
>> _______________________________________________
>> Beginners mailing list
>> Beginners at haskell.org
>> http://www.haskell.org/mailman/listinfo/beginners
>>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
More information about the Beginners
mailing list