DataStructures.jl
DataStructures.jl copied to clipboard
[WIP] Tried to add temporary immutable struct
Hi, I'm relatively new to Julia and was interested in this problem. I attempted to add a temporary way to make queue immutable, but definitely a work in progress and needs changes. Any tips are appreciated, thanks.
making Queue a immutable struct should be just a matter of removing the mutable
, and making sure all operations just mutate the backing Deque
instead.
That would be a good idea.