[erlang-questions] [ANN] hackney 0.4.1 released
Tue Jun 11 21:35:11 CEST 2013
On Tue, Jun 11, 2013 at 7:52 PM, Anthony Ramine <> wrote:
> Got a better idea, with macros:
Thanks! I actually like the idea. I will test it asap. Maybe another
way (and simpler) would be having all methods set in their own module.
but anyway will play with it :)
> Anthony Ramine
> Le 11 juin 2013 à 13:59, Thomas Allen a écrit :
>> Hi Benoit,
>> On Tue, Jun 11, 2013, at 12:27 AM, Benoit Chesneau wrote:
>>> The main reason I'm doing a parse transform is to not have to worry
>>> about adding a method or handling different cases, for example:
>>> but also:
>>> hackney:get(URL, Headers)
>>> hackney:get(Url, Headers, Options)
>>> and do that for each method.
>> In that case, I'd think the macro approach is probably the least
>> error-prone and easiest to maintain.
>> Yours in bikeshedding,
>> erlang-questions mailing list
More information about the erlang-questions