gproc icon indicating copy to clipboard operation
gproc copied to clipboard

lookup_local_name doc

Open benbro opened this issue 9 years ago • 1 comments
trafficstars

The lookup_local_name doc says "Fails if there is no such name". "Fail" seems like it raises an exception but it actually return undefined (which is good). Shouldn't it say something like "Return undefined if there is no such name"?

The spec should return "pid() | undefined" as well? https://github.com/uwiger/gproc/blob/master/src/gproc.erl#L279

benbro avatar Oct 27 '16 05:10 benbro

Indeed.

uwiger avatar Oct 27 '16 07:10 uwiger