[erlang-questions] why syntax error

David Mercer dmercer@REDACTED
Thu Apr 15 15:12:08 CEST 2010


On Wednesday, April 14, 2010, Geoff Cant wrote:

> That said, I wouldn't mind a '[{debugging, production}, {please,
> help_help_help}]' option for the shell that would add reader syntax
> (only in the shell) for #Port<X.Y.Z> and <X.Y.Z> so that I could copy
> and paste pids/ports from log messages and debugging output right back
> into new commands. Would save me typing pid(X,Y,Z) and/or
> list_to_pid("<X.Y.Z>") quite so often.

Is it possible to just change the output format of PID's from "<X.Y.Z>" to
"pid(X,Y,Z)"?



More information about the erlang-questions mailing list