Skip to content

Instantly share code, notes, and snippets.

View cmpitg's full-sized avatar
💭
I may be slow to respond.

Ha-Duong Nguyen cmpitg

💭
I may be slow to respond.
  • Finland
View GitHub Profile

Keybase proof

I hereby claim:

  • I am cmpitg on github.
  • I am cmpitg (https://keybase.io/cmpitg) on keybase.
  • I have a public key whose fingerprint is 2701 08A2 3AD8 2065 E0C9 6282 8A69 F67C 8714 98A2

To claim this, I am signing this object:

(defun suml (lst res)
(if (zerop (list-length lst))
res
(suml (rest lst) (+ res (first lst)))))
(suml '(1 2 3 4 5) 0)