Skip to content

Rename Stack.initialise to Stack.empty? #3

@michaeljones

Description

@michaeljones

Thanks for writing this. Saves a bit of trouble!

I think it might be more idiomatic for Stack.initialise to be Stack.empty. That would put it inline with Array.empty, Dict.empty and Set.empty from the core libraries.

I realise it is a breaking change and so I would understand if you might feel reluctant. Though I guess you could provide both and mark one as deprecated if desirable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions