List equality

Issue #163 new
Turgut Guneysu created an issue

Following code blocks evaluate to false:

Comments (3)

  1. John Maloney repo owner

    This is worth thinking about. It would need to be recursive to handle lists inside of lists, and a recursive implementation would need to protect itself against circular data structures.

    But perhaps a non-recursive implementation would be better than nothing. That would deal the case above and probably 95% of beginner situations. And those advanced enough to build more complex data structures could write their own recursive equality test.

  2. Log in to comment