摘要: 1 ;; Common lisp 2 3 ;; define function 4 5 ;; function as the value 6 7 ;; function as the parameter 8 (apply #'+ '(1 2)) 9 (apply (symbol-function '+) '(1 2))10 (apply #'(lambda (x y) (+ x y)) '(1 2))11 12 (funcall #'+ 1 2 3 4 5)13 14 (mapcar #'(lambda (x) (* x x)) 阅读全文
posted @ 2012-03-13 12:37 maxima 阅读(183) 评论(0) 推荐(0) 编辑