[erlang-questions] Erlang documentation -- a modest proposal

Éric Pailleau <>
Wed Sep 28 07:53:17 CEST 2016


Forgot to say that sometimes I use the below example from beam_lib documentation to beautify the code,  and add comments after.

{ok,{_,[{abstract_code,{_,AC}}]}} = beam_lib:chunks(Beam,[abstract_code]). io:fwrite("~s~n", [erl_prettypr:format(erl_syntax:form_list(AC))]).


"Envoyé depuis mon mobile " Eric

---- Éric Pailleau a écrit ----

>_______________________________________________
>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/20160928/1c5fccfc/attachment.html>


More information about the erlang-questions mailing list