On Wed, Feb 9, 2011 at 6:43 PM, Dox wrote:
> Hi people!
>
> I was wondering if there is a way of bundle two kind of different
> objects together and define operations on them.
>
> Suppose, I'd like to bundle a number and a string (3, Hello) and (4,
> World!!)... then define and operation which mul
Hi people!
I was wondering if there is a way of bundle two kind of different
objects together and define operations on them.
Suppose, I'd like to bundle a number and a string (3, Hello) and (4,
World!!)... then define and operation which multiplies the numbers and
add strings, so the result is (1