[erlang-questions] [ANN] Gin (guard in): lists:member using parse_transform

Jesse Gumm <>
Mon Jul 30 20:42:20 CEST 2012


Neat!

However, you forgot to include a link to the repo :)

--
Jesse Gumm
Owner, Sigma Star Systems
414.940.4866 || sigma-star.com || @jessegumm
On Jul 30, 2012 12:10 PM, "Michael Uvarov" <> wrote:

> Hi,
>
> It is a parse_transform, that converts this code `in(X, [1,2,3,Y,Z])'
> into `(X =:= 1 orelse X =:= 2 orelse X =:= 3 orelse X =:= Y orelse X
> =:= Z).'
>
> --
> Best regards,
> Uvarov Michael
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120730/6714c87e/attachment.html>


More information about the erlang-questions mailing list