I should probably point out that the type parameters being immutable is not quite right: the restriction is "any bits types", which you can assess using the isbits() function on a type's name. You can find more information here: https://github.com/JuliaLang/julia/issues/6081
-- John On Dec 16, 2014, at 12:55 PM, Luca Antiga <[email protected]> wrote: > Hi John, > It didn't occur to me to try with immutable, it makes perfect sense now. > Thanks a lot for the hint and the explanation > > Luca
