[erlang-questions] clarify: Sending big messages

Richard O'Keefe ok@REDACTED
Thu Oct 23 02:18:58 CEST 2008

I seem to have missed the start of this thread.
However, if someone is unhappy that

	deliver(Port, Data) ->
	    Port ! {data,Data}.

returns {data,Data}, why don't they just write

	deliver(Port, Data) ->
	    Port ! {data,Data},

One thing we should definitely have for Erlang some day is
some sort of style checker where people can plug in their
own rules, so you could do something like

	Pattern			Action
	(A ! B , C)		ok
	(A ! B)			warn("! returns a value")


More information about the erlang-questions mailing list