9 months ago | Paul Boddie | file changeset files shortlog | Introduce special well-defined instances, similar to predefined constants, to support loop exit conditions without having to raise a new instance as an exception on every occasion. | well-defined-instances |
paul@279 | 1 | print 1 == 1 # True |
paul@279 | 2 | print 1 != 1 # False |
paul@279 | 3 | print 1 == "one" # False |
paul@279 | 4 | print 1 != "one" # True |