You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IMO, convert should not exist for mutable types (i.e. types with object identity), because it can be called implicitly, which can lead to very weird stuff:
julia> x =dna"TAG";
julia> y = [bioseq("TAG")];
julia>push!(y, x);
julia> y[2] === x
false
The text was updated successfully, but these errors were encountered:
I saw the slack gripe on this. Doesn't feel like a huge loss, especially if we put in constructors that can do the conversion for us (eg it would be nice to be able to "convert" RNA to DNA, but it could just be with a dna sequence constructor)
IMO,
convert
should not exist for mutable types (i.e. types with object identity), because it can be called implicitly, which can lead to very weird stuff:The text was updated successfully, but these errors were encountered: