It was pointed out that allp could just be a method of all – so just delete
the "p".

On Mon, Feb 23, 2015 at 12:21 PM, Benjamin Turk <
[email protected]> wrote:

> I have been looking at the following code snippet from the julia-dev forum:
>
> valuetypeof(::()) = ()
> valuetypeof{T}(::(T,)) = T
> function valuetypeof(x::Tuple)
>   t = typeof(x[1])
>   @assert allp(y->typeof(y)==t, x)
>   t
> end
>
>
> I would like to know what allp is and what happened to it?
>
> Thanks
>

Reply via email to