haskell-distributed/distributed-process — pull request #76 by jepst (2012-11-19 14:10:16+00:00)
Title: Align semantics of register/whereis with Erlang

This patch matches the behavior of register/whereis with Erlang. Specifically, attempting to register an already-registered name will throw an exception, and names are automatically unregistered with the associated process dies.