[erlang-questions] [ANN] hackney 0.4.1 released
Mon Jun 10 15:51:47 CEST 2013
Why use a parse transform for such a tiny amount of boilerplate when you could have used a single macro taking a method name and generating the shortcut function?
Shortcuts work in the shell, parse transforms don't.
Le 10 juin 2013 à 15:13, Benoit Chesneau a écrit :
> On Mon, Jun 10, 2013 at 2:10 PM, Max Lapshin <max.lapshin@REDACTED> wrote:
>> what for do you use parse_transform for hackney:get ? Why you haven't
>> just made a shortcut?
> If I don't use parse transforms I would have to do a shortcut for each
> methods. Methods supported are:
> It was easier to do like this. Why?
> - benoit
> erlang-questions mailing list
More information about the erlang-questions