Have a look at: http://docs.julialang.org/en/release-0.3/manual/types/
Abstract: - no instances - can be used as parents of other types type/immutable: - can create instances of them Both can be used for dispatch in functions. Best try it out. On Tue, 2014-11-11 at 17:13, Spencer Lyon <[email protected]> wrote: > What are the differences/advantages of following: > > > ``` > # 1 > abstract MyType > > #2 > type MyType end > ``` > > Is there any reason to prefer one over the other?
