[erlang-questions] my best erlang "foot in mouth"

Robert Virding robert.virding@REDACTED
Mon Oct 31 22:26:31 CET 2011


Just to say "I told you so". That used to be illegal code until they removed the obligatory parentheses around the record value expression. Just to be helpful. :-)

Robert


----- Original Message -----
> I've gotten burned by that one quite a bit using Nitrogen since
> Nitrogen represents almost all of the data using a nested record
> structure.
> 
> That's a frustrating one.
> 
> -Jesse
> 
> On Mon, Oct 31, 2011 at 12:48 PM, Fernando Benavides
> <fernando.benavides@REDACTED> wrote:
> > We've found a pretty one with Marcos Almonacid today...
> > We've created a gist with it.
> > The evil function:
> >
> > test1() -> [#rec{field1 = 1, field2 = 1}
> >
> >             #rec{field1 = 2, field2 = 2}].
> >
> >
> > Cheers!
> > Fernando Benavides
> >
> >
> > On Wed, Aug 17, 2011 at 9:35 AM, Michael Uvarov <freeakk@REDACTED>
> > wrote:
> >>
> >> -define(DBG(X,Y), ?DBG(X,Y)).
> >> in the header file.
> >>
> >> _______________________________________________
> >> erlang-questions mailing list
> >> erlang-questions@REDACTED
> >> http://erlang.org/mailman/listinfo/erlang-questions
> >>
> >
> >
> > _______________________________________________
> > erlang-questions mailing list
> > erlang-questions@REDACTED
> > http://erlang.org/mailman/listinfo/erlang-questions
> >
> >
> 
> 
> 
> --
> Jesse Gumm
> Sigma Star Systems
> 414.940.4866
> gumm@REDACTED
> http://www.sigma-star.com
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
> 



More information about the erlang-questions mailing list