[erlang-questions] Pretty printing records from a program

Joe Armstrong <>
Thu Sep 28 15:30:07 CEST 2006


I have a record X in a program and all the .hrl files etc.

How do I pretty print this from a program

I know I can do it in the shell with

> rr("*.hrl"),
> rp(X).

But I want to do this from my program

I have read

http://www.erlang.org/ml-archive/erlang-questions/200508/msg00140.html


But was none the wiser

/Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20060928/6572a4f2/attachment.html>


More information about the erlang-questions mailing list