2009-05-23から1日間の記事一覧
g000001さんの所のネタ。 http://cadr.g.hatena.ne.jp/g000001/20090521/1242909362alistからplistへの破壊的な変換。やってみたら、とっても直接的になった。 (defun nalist-to-plist (alist) (loop for x on alist by #'cddr do (let* ((cons1 x) (cons2 (…
g000001さんの所のネタ。 http://cadr.g.hatena.ne.jp/g000001/20090521/1242909362alistからplistへの破壊的な変換。やってみたら、とっても直接的になった。 (defun nalist-to-plist (alist) (loop for x on alist by #'cddr do (let* ((cons1 x) (cons2 (…