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
julia>LongDNA{4}(UInt[1], UInt(1))
1nt DNA Sequence:
A
This is not great, since it exposes the data layout of these objects to the user, and this is an implementation detail. For example, TwoBit.jl uses this.
make an Internal struct and use it for the inner constructor.
However, this is breaking as this is a method of an exported type.
The text was updated successfully, but these errors were encountered:
Is this behavior documented? One could argue that it's not breaking if it's an internal representation and not documented, even if the method currently exists.
Then again, the fact that there's a package that uses it already is some argument against this.
Right now you can do:
This is not great, since it exposes the data layout of these objects to the user, and this is an implementation detail. For example, TwoBit.jl uses this.
make an
Internal
struct and use it for the inner constructor.However, this is breaking as this is a method of an exported type.
The text was updated successfully, but these errors were encountered: