skx / yal

Yet another lisp interpreter
GNU General Public License v2.0
16 stars 0 forks source link

When converting hashes to strings, sort their keys first. #127

Closed skx closed 1 year ago

skx commented 1 year ago

This allows the following code to return "true" as expected:

(print (eq
        { :name "Ale" :age 3 :colors [:red :green :blue] }
        { :colors [:red :green :blue] :age 3 :name "Ale" }))