[erlang-questions] Bug ?!

Mats Cronqvist mats.cronqvist@REDACTED
Wed Oct 4 08:57:31 CEST 2006


Robert Virding wrote:

> I believe it is important to keep things clean, consistent and elegant 
> otherwise you will end up with a language built on exceptions.

   aha! so that's why this works?

-define(foo,bla.
go()->?foo.

   more to the point, i still fail to see how this;

   receive
     X#r.a -> do_a();

   is more unclean, inconsistent and inelegant than this;

   XRA = X#r.a,
   receive
     XRA -> do_a();

   but hey, i'll take richard & richard's word for it.

   mats



More information about the erlang-questions mailing list