5 lines
143 B
Common Lisp
5 lines
143 B
Common Lisp
>(defun compose (f g) (lambda (x) (funcall f (funcall g x))))
|
|
COMPOSE
|
|
>(let ((sin-asin (compose #'sin #'asin)))
|
|
(funcall sin-asin 0.5))
|
|
0.5
|