[julia-users] Some questions about types, and removing elements.

2015-11-28 Thread Aleksandr Mikheev
Hi all. I have 3 questions. 1. I still don't understand what exactly parametric types do. I mean what is the reason to use type A{Int64} > A1::Int64 > A2::Int64 > end instead of type A > A1::Int64 > A2::Int64 > end ? Or am I misunderstanding something? 2. How should I use types like

[julia-users] Some questions about types and removing elements.

2015-11-28 Thread Aleksandr Mikheev
Hi all. I have 3 questions. 1. I still don't understand what exactly parametric types do. I mean what is the reason to use type A{Int64} > A1::Int64 > A2::Int64 > end instead of type A > A1::Int64 > A2::Int64 > end ? Or am I misunderstanding something? 2. How should I use types like

Re: [julia-users] Some questions about types, and removing elements.

2015-11-28 Thread Yichao Yu
On Sat, Nov 28, 2015 at 3:37 AM, Aleksandr Mikheev wrote: > > > Hi all. I have 3 questions. > > > 1. I still don't understand what exactly parametric types do. I mean what is > the reason to use > >> type A{Int64} >> A1::Int64 >> A2::Int64 >> end > > > instead of > >> type