lantiga / ki

lisp + mori, sweet.js
ki-lang.org
MIT License
478 stars 28 forks source link

+ does not work #31

Closed stammi closed 8 years ago

stammi commented 8 years ago
ki require core

return ki(+ 2 3);

returns 3.

See also: http://ki-lang.org/editor/editor.html#ki%20require%20core%0A%0Areturn%20ki%28+%202%203%29;

lantiga commented 8 years ago

Operations are (add 2 3) etc (see docs) Alternatively you can use (js 2 + 3)

stammi commented 8 years ago

Thanks, Sorry for not to rtfm.

Should this at least be an error of some kind? It can introduce quite subtle bugs.

lantiga commented 8 years ago

Yes, absolutely. Mind opening an issue? Thanks!