[eeps] Re: Line numbers in exceptions

Thomas Lindgren thomasl_erlang@REDACTED
Thu Mar 31 18:27:19 CEST 2011





----- Original Message ----
> From: Björn Gustavsson <bgustavsson@REDACTED>
> To: Thomas Lindgren <thomasl_erlang@REDACTED>
> Cc: eeps@REDACTED
> Sent: Thu, March 31, 2011 3:49:21 PM
> Subject: Re: [eeps] Line numbers in exceptions
> 
> 2011/3/30 Thomas Lindgren <thomasl_erlang@REDACTED>:
> >  Hi Björn,
> >
> > This looks pretty great to me, but I _strongly_  suggest you hide the data
> > representation and make the location info an  abstract datatype with a
> > well-defined API a la dict, proplist and the  others.
> 
> The data representation is a proplist, so the proplists module  can
> be used. Adding a special module would provide a very thin
> abstraction  on top of proplists, and that seems to be over-kill, IMO.


Only until you need to change things around. Either way, it's an improvement on 
what we have, so best of luck.

Best regards,
Thomas




More information about the eeps mailing list