[erlang-questions] definition of iolist

Anthony Shipman <>
Fri Aug 31 14:09:37 CEST 2007


The documentation often says this:

iolist = [char() | binary() | iolist()]
  a binary is allowed as the tail of the list

This says to me that an iolist is a list whose members can be characters, 
binaries or iolists. In which case it is automatic that a binary can be the 
tail of the list. So what is the point of the comment?

-- 
Anthony Shipman                    Mamas don't let your babies 
                   grow up to be outsourced.



More information about the erlang-questions mailing list