Combining elements of different types

In the previous example, when we worked with the merge operator, we saw that it was easy to work with elements of the same type, but the merge operator fails when it comes to combining elements of different types. Hence, there arises a need for an operator that can combine elements of different datatypes.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset