yeah! it is. Thanks!

Mauro於 2015年4月22日星期三 UTC+8下午4時23分46秒寫道:
>
> I think this should work: 
>
> typealias Foo  Type{Function, Function} 
>
> although I don't have a julia build after the merge of #10380  where 
> tuple types were modified. 
>
> On Wed, 2015-04-22 at 08:44, Miao Yang <[email protected] <javascript:>> 
> wrote: 
> > I don't know how to describe my problem, so let me past the code. 
> > 
> > ``` 
> > 
> > julia> typealias Foo  (Function, Function) 
> > (Function,Function) 
> > 
> > julia> f(foo::Foo) = 1 
> > ERROR: ArgumentError: invalid type for argument foo in method definition 
> > for f at none:1 
> > 
> > 
> > ``` 
> > 
> > The Julia version is ` Version 0.4.0-dev+4328 ` 
> > 
> > And these works recently ... 
>
>

Reply via email to