Skip to content

append!(), appending collections to a collection #42

@rafael-guerra-www

Description

@rafael-guerra-www

Base append!() allows appending collections to a collection.
For example below is it possible in ElasticArrays to append ([4, 5], [6, 7]) to previous array, in one go?

using ElasticArrays
A = ElasticArray{Int}(undef, 2, 0)
append!(A, [1, 2])
append!(A, [4, 5])     # append!(A, (4, 5], [6, 7]))  throws error
append!(A, [6, 7])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions