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

Comparsion of runtime.Object and front matter #43

Closed logrusorgru closed 9 years ago

logrusorgru commented 9 years ago

Tests do not always pass. Because "abc" and "abc" should be equal, but "abc, {a:1,b:2,c:3}" and "abc, {b:2,c:3,a:1}" should be equal too. runtime.Object is map[Val]Val, but map doesn't support ordering. Playground implementation of pull request.

mna commented 9 years ago

Yeah, thanks, I haven't touched this project in a long while.