B. Pym
2024-08-30 22:27:57 UTC
an `update' function for the mp3 database.
* (xxxx (list :artist "something" :song "sss"))
=> (:artist :song)
Thanks in advance, and sorry for my bad english.
--
Pablo.
CL-USER> (loop :for (x y) :on (list :artist "something" :song "sss") :by #'cddr* (xxxx (list :artist "something" :song "sss"))
=> (:artist :song)
Thanks in advance, and sorry for my bad english.
--
Pablo.
:collect x)
(:ARTIST :SONG)
(use srfi-1) ;; unfold for Gauche
or
(require srfi/1) ;; unfold for Racket
(unfold null? car cddr '(:artist "something" :song "sss"))
===>
(:artist :song)