[erlang-questions] refactoring a very large record

Tim Watson watson.timothy@REDACTED
Thu Oct 20 15:33:31 CEST 2011


On 20 October 2011 14:31, Joel Reymont <joelr1@REDACTED> wrote:

>
> On Oct 20, 2011, at 2:23 PM, Tim Watson wrote:
>
> > No idea about the rest of these questions, but look at
> https://github.com/esl/parse_trans/blob/master/src/exprecs.erl to automate
> generating accessor functions if you decide you need them.
>
> exprecs does not seem to generat type specs. Am I mistaken?
>
>
Not sure, haven't tried.


> How does Dialyzer react to modules that use exprec-generated accessors?
>
>
Not sure, but you could always use TypEr to generate the specs for you?


> --------------------------------------------------------------------------
> - for hire: mac osx device driver ninja, kernel extensions and usb drivers
> ---------------------+------------+---------------------------------------
> http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
> ---------------------+------------+---------------------------------------
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20111020/b1bb7735/attachment.htm>


More information about the erlang-questions mailing list