Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
How to sum from 1 to 10 in Common Lisp (c2.com)
21 points by nyellin on Dec 26, 2011 | hide | past | favorite | 2 comments


  > Do I have to do everything myself?
  > (+ 1 2 3 4 5 6 7 8 9 10)


(loop for i from 1 to 10 sum i)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: