Thanks! I guess I will put the return type in the calling code instead. 
Nuisance though.

On Tuesday, March 10, 2015 at 2:39:37 PM UTC-7, Mauro wrote:
>
> Sadly not.  Have a look at 
> https://github.com/JuliaLang/julia/issues/1090 
> and 
> https://github.com/JuliaLang/julia/pull/10269 
>
> The complication in Julia is that with its multimethods, it is not so 
> clear what the return type of a generic function actually means. 
>
> On Tue, 2015-03-10 at 21:24, Shivkumar Chandrasekaran <00s...@gmail.com 
> <javascript:>> wrote: 
> > I am new to Julia, so forgive the elementary question, but I could not 
> seem 
> > to find the answer in the docs or by googling the news group. 
> > 
> > Is it possible to specify the return type of a function in Julia? 
> > 
> > Thanks. 
> > 
> > --shiv-- 
>
>

Reply via email to