Plaster
New
List
Login
text
default
anonymous
2021.08.04 20:39:08
(defmethod sort-transactions-by-coin (transactions (product (eql :stickerpicker))) (let ((lists ())) (mapc (lambda (tx) (let* ((info (transaction-information tx)) (coin (getf info :currency2)) (in (intern coin))) (setf (getf lists in) (append (getf lists in) (list tx))))) transactions) lists))
Raw
Annotate
Repaste
Edit