On Sunday, May 25, 2014 5:44:26 PM UTC+2, Pierre-Yves Gérardy wrote:
>
> On Sunday, May 25, 2014 5:10:49 PM UTC+2, James Crist wrote:
>>
>> Yeah, that's what I've been using. My issue with it is that the 
>> declarations get long for functions with more than 2 arrays. Was hoping 
>> there was a more concise way.
>>
>
> You can use  typealias Fp FloatingPoint , then
>
 
... or  Fp = FloatingPoint , types are first class objects.
 

>  
>
function foo{T1<:Fp, T2<:Fp}(a::Array{T1}, b::Array{T2}) 
>
>

Reply via email to