Atoms in I/O lists

Bjorn Gustavsson <>
Wed Dec 15 10:49:03 CET 2004


 writes:

> On Wed, Dec 15, 2004 at 08:54:39AM +0100, Raimo Niskanen wrote:
> 
> > 
> > So, I feel I did not present a particulary strange case against
> > allowing atoms in I/O lists. 
> 
> 
> I think you did.
> 
> Yet another argument would be that: Not allowing atoms
> in io lists does catch runtime bugs. Sometimes the occasional
> 'ok' or 'true' atom happens to find its way into a list later
> destined for io.  These bugs are caught by the runtime system.

I agree. I think this is the best argument for not allowing any more
types in I/O lists.

/Bjorn
-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list