Skip to content

Remove convert for biosequences #321

@jakobnissen

Description

@jakobnissen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions