puffnfresh / roy

Small functional language that compiles to JavaScript.
http://roy.brianmckenna.org/
MIT License
834 stars 74 forks source link

Object example in docs doesn't work as expected in the repl #163

Closed jamiltron closed 11 years ago

jamiltron commented 11 years ago

The docs show the following examples:

roy> {}
[object Object] : {}

roy> {a: 100}
[object Object] : {a: Number}

However, typing an empty Object into the repl gives no result, and {a: 100} results in a syntax error: unexpected token :