CommonLisp Series
series入れてみた。
リファレンスどっかにないかなぁ。
; SLIME 2006-11-26 CL-USER> (require :asdf) NIL CL-USER> (require :asdf-install) ("ASDF-INSTALL") CL-USER> (asdf-install:install :series) Install where? 1) System-wide install: System in /usr/lib/sbcl/site-systems/ Files in /usr/lib/sbcl/site/ 2) Personal installation: System in /home/satoshi/.sbcl/systems/ Files in /home/satoshi/.sbcl/site/ --> 1 Downloading 146318 bytes from http://common-lisp.net/project/asdf-packaging/series-latest.tar.gz ... Installing /home/satoshi/SERIES.asdf-install-tmp in /usr/lib/sbcl/site/,/usr/lib/sbcl/site-systems/ CL-USER> (require :series) NIL CL-USER> (series:collect-sum (series:choose-if #'(lambda (x) (> (abs x) 2)) (series:scan '(1 -2 3 -4)))) -1