A tutorial about parametric constructors in Julia (1/2)

A short introduction to parametric types UnionAll of parametric types Preventing parametric types from being too generic Is it always worth to restrict the types? Edits Julia enables the definition of parametric types , similar to class templates in C++. They let the user define a “template” for a struct where the types are only defined in general terms, and the user will “fill” the definitions…