Skip to content

The 'except' function doesn't work properly on dictionaries and sets #41

@BrucePay

Description

@BrucePay

For example:

 (except {:a 1 :b 2 :c 3} {:a 1} | first | type-of)
^System.Collections.Generic.KeyValuePair`2[System.Object,System.Object]

should return a new dictionary with the {:a 1} pair removed instead of a list of pairs.

Likewise for sets:

=>  (except #{:a 1 :b 2} #{:a 1} | type-of)
^BraidLang.Vector

should return a new set with the members removed instead of a Vector of elements.

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