Extending arithmetic

James Hague jamesh@REDACTED
Fri Feb 7 21:19:05 CET 2003


>For the latter two, "number op tuple" is invalid, but
>it's okay for the others. 

This restriction is not necessary.

1 / {1,2,3} -> {1,0.5,0.3333}
{1,2,3} / 1 -> {1,2,3}



More information about the erlang-questions mailing list