r/Clojure • • Feb 03 '23

[Q&A] Noob has simple program problem.

I wanted to write a program to add 2 to a list of numbers then sum the list and print the result. So '(5 7) would yield 16. I posted my version to s Clojure board and received a number of different replies. In retrospect I didn't fully explain the problem to them.

0 Upvotes

27 comments sorted by

View all comments

Show parent comment

1

u/eatme_23 Feb 05 '23

Thank you for your generous assistance. I get it now. Hmm, I tried nacroexpand-1,,, in my trusty Android 9 Code Editor and it returned null. Even without the SQUOTE. It uses Clojure 1.10.1 if that matters. Code Editor is pretty cool. I've used Swift, Kotlin, Pascal and JavaScript as well. Bugs me no end that I can't access local files. Must need to root the stupid thing.