Those strings are in the if form. --- Joe R. Smith j...@uwcreations.com @solussd
> On Mar 4, 2016, at 6:48 PM, Renata Akhm <akhmren...@gmail.com> wrote: > > Hi! I've just strated coding on Clojure and tried to move some of my Lisp > code to Clojure: > (defn mpow > [N M] > (if (= M 0) 1 "in case pow is 0 return 1" > (do (* N (recur N (- M 1))))) "decrease power M each itr" > ) > So it just calculates power recursively. When I run it the "Too many > arguments to if" error occures. What am I doing wrong? Thank you in advance > for help! > > Renata > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.