Re: [julia-users] constants and containers

2014-09-15 Thread Kevin Squire
FunctionalCollections.jl actually implements an immutable array type. I haven't looked at it recently, so I don't know it's current status. Cheers, Kevin On Monday, September 15, 2014, Steven G. Johnson stevenj@gmail.com wrote: On Sunday, September 14, 2014 6:04:20 PM UTC-4, Yakir

[julia-users] constants and containers

2014-09-13 Thread Yakir Gagnon
I understand the difference between variables that are constant and containers that are constants, but how do you get a container of constants? Say I have a custom type. I initiate an instance of said type. But I want that instance to be constant, including its fields. Is that possible?