[Issue 15968] New: deep-version of equals

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Apr 29 01:55:29 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=15968

          Issue ID: 15968
           Summary: deep-version of equals
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: greensunny12 at gmail.com

We should have a deep comparison mode for std.algorithm.comparison.equal, how
about "equals"?

Reason: `equal!(equal!equal) is quite annoying over time ;-)

E.g.

[[2,2],[1,2]].equals([[2,2],[1,2])

--


More information about the Digitalmars-d-bugs mailing list