読者です 読者をやめる 読者になる 読者になる

lisp chords 1

f:id:lisp_yanaka:20170318151937j:plain

(+ 1 2 3)
(+ 1 (/ 1 3))
(+ 1/3 1/3 1/3)
(+ 0.3 0.3 0.3)

 

(cons 1 2)
(car (cons 1 2))
(cdr (cons 1 2))
(cons (cdr (cons 1 2))3)
(cdr (cons (cdr (cons 1 2)) 3))
(car (cons (cdr (cons 1 2)) 3))
(cons (cons 1 2) (cons 3 4))
(list (cons 1 2) (cons 3 4))
(car (cons (cons 1 2) (cons 3 4)))
(cdr (cons (cons 1 2) (cons 3 4)))
(cdr (cdr (cons (cons 1 2) (cons 3 4))))
(* (+ 1 2) (- 3 4) (+ 5 6))
(defun 2jyo (n) (* n n))
(2jyo 2)
(defun inc (x &optional (y 1)) (+ x y))
(inc 1)
(inc 1 2)
(+ (print (+ 1 2)) (print (+ 3 4)))
'(+ 1 2)