OtpErlangTuple fails on 0 arity tuples

Shawn Pearce spearce@REDACTED
Fri Jan 26 14:59:26 CET 2001


Hence why I was sending them from an Erlang node to a Java node?  :)
My Java node expected a tuple there, and a 0 arity tuple meant something
special.  Buuuuut, code broke.  :-)


Ulf Wiger <etxuwig@REDACTED> scrawled:
> On Thu, 25 Jan 2001, Shawn Pearce wrote:
> 
> >If 0 arity tuples were not meant to be supported in Erlang, perhaps
> >the compiler should be fixed to prevent making 0 arity tuples.  :-)
> 
> 0 arity tuples are definitely supported in Erlang.
> 
> Sometimes, they're even useful. ;)
> 
> /Uffe
> -- 
> Ulf Wiger                                    tfn: +46  8 719 81 95
> Senior System Architect                      mob: +46 70 519 81 95
> Strategic Product & System Management    ATM Multiservice Networks
> Data Backbone & Optical Services Division      Ericsson Telecom AB
--
Shawn.

  ``If this had been a real
    life, you would have
    received instructions
    on where to go and what
    to do.''



More information about the erlang-questions mailing list