Doesn't map choose the tightest possible type nowadays? So maybe just
map the identity?

On Sun, Jul 27, 2014 at 4:03 PM, Ivar Nesje <[email protected]> wrote:
> But it does use promotion, so it might not be what you are looking for.
>
> kl. 22:02:52 UTC+2 søndag 27. juli 2014 skrev Ivar Nesje følgende:
>>
>> This works somewhat like what you ask:
>>
>> vcat({1,0.1}...)
>>
>> Ivar
>>
>> kl. 21:42:24 UTC+2 søndag 27. juli 2014 skrev John Myles White følgende:
>>>
>>> Do we have a function that will take in an Array{Any}, compute the
>>> typejoin of its elements and convert the Array to the tightest possible
>>> type?
>>>
>>>  — John
>>>
>

Reply via email to