Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

+ does not work #31

Closed
stammi opened this issue Feb 6, 2016 · 3 comments
Closed

+ does not work #31

stammi opened this issue Feb 6, 2016 · 3 comments

Comments

@stammi
Copy link

stammi commented Feb 6, 2016

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
Copy link
Owner

lantiga commented Feb 6, 2016

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

@lantiga lantiga closed this as completed Feb 6, 2016
@stammi
Copy link
Author

stammi commented Feb 6, 2016

Thanks, Sorry for not to rtfm.

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

@lantiga
Copy link
Owner

lantiga commented Feb 6, 2016

Yes, absolutely. Mind opening an issue? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants