mna / agora

a dynamically typed, garbage collected, embeddable programming language built with Go
https://github.com/mna/agora/wiki
BSD 3-Clause "New" or "Revised" License
324 stars 27 forks source link

Implement sane equality between types #14

Closed mna closed 11 years ago

mna commented 11 years ago

For reference: https://groups.google.com/d/msg/golang-nuts/IAtAaXBfuJU/JXa_SDuysioJ Also, test file 52.

mna commented 11 years ago

Python's rules seem pretty decent:

http://docs.python.org/3/reference/expressions.html#not-in

mna commented 11 years ago

Matrix of ops:

https://docs.google.com/spreadsheet/ccc?key=0Atx1KnJmATDcdEV1TGhYTmxGWjRTbjBvdy00aWczRHc&usp=sharing

mna commented 11 years ago

Fixed in next.