Re: Union[{0},{0.}] = {0,0.}?
- To: mathgroup at smc.vnet.net
- Subject: [mg12688] Re: Union[{0},{0.}] = {0,0.}?
- From: FalkoSch at t-online.de (Falko Schmidt)
- Date: Wed, 3 Jun 1998 02:20:43 -0400
- References: <6kvpko$7hl@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Chris Farr schrieb in Nachricht <6kvpko$7hl at smc.vnet.net>...
>Union[{0},{0.}] = {0,0.}.
>
>Why?
>
>I would like the above to return only {0}.
>
Notice the heads of your details!
In[1]:=Head[0]
Out[1]=Integer
In[2]:=Head[0.]
Out[2]=Real