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

Michael Uvarov <>
Mon Jul 30 19:09:46 CEST 2012


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



More information about the erlang-questions mailing list