Skip to content

Should a isempty accumulator with all elements having a count of 0 return true? #836

Description

@oxinabox

Current behavour:

julia> x = Accumulator{Int, Int}()
Accumulator{Int64,Int64}()

julia> isempty(x)
true

julia> x[1]=0
0

julia> isempty(x)
false

Under the multiset interpretttion I think this should be true

Activity

  1. added
    requires thoughtFor things that need some thought in them and do not have obvious correct answer
    on Dec 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    requires thoughtFor things that need some thought in them and do not have obvious correct answer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions