Skip to content
View in the app

A better way to browse. Learn more.

Opusmodus

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Combining TWO lists

Featured Replies

Dear Friends,

 

I have this recurrent problem with lists...

Please, help...

 

;;; I have this TWO lists

(setf list1 '(v1rp0 v1rp1 v1rp2 v1rp3 v1rp4)
(setf list2 '(melch1-0 melch1-1 melch1-2 melch1-3 melch1-4)

;;;AND

;;; I need a list like this (alternating the list)

(v1rp0 melch1-0 v1rp1 melch1-1 v1rp2 melch1-2 v1rp3 melch1-3 v1rp4 melch1-4)

 

How can I proceed ?

 

Thanks a lot

Best,

Julio (a desperate quarantine composer)

OBS.

 

help in combining THREE lists are also greatly appreciated, as well as 

how to combine parts of the lists.

 

Thank you... my brain is ruined for now (I´m doing something BIG... )

 

All the best !

Julio

(setf list1 '(v1rp0 v1rp1 v1rp2 v1rp3 v1rp4))
(setf list2 '(melch1-0 melch1-1 melch1-2 melch1-3 melch1-4))

(matrix-transpose (list list1 list2))
=> ((v1rp0 melch1-0) (v1rp1 melch1-1) (v1rp2 melch1-2) (v1rp3 melch1-3) (v1rp4 melch1-4))

 

or

(setf mat1 '((c4 db4) (ab4 f4) (g4 bb4) (a4 eb4) (b4 e4) (d4 gb4)))
(setf mat2 '((db4 ab4) (f4 g4) (bb4 a4) (eb4 b4) (e4 d4) (gb4 c4)))

(gen-mix mat1 mat2)
=> ((c4 db4) (db4 ab4) (ab4 f4) (f4 g4) (g4 bb4) (bb4 a4)
    (a4 eb4) (eb4 b4) (b4 e4) (e4 d4) (d4 gb4) (gb4 c4))

 

Create an account or sign in to comment


Copyright © 2014-2026 Opusmodus™ Ltd. All rights reserved.
Product features, specifications, system requirements and availability are subject to change without notice.
Opusmodus, the Opusmodus logo, and other Opusmodus trademarks are either registered trademarks or trademarks of Opusmodus Ltd.
All other trademarks contained herein are the property of their respective owners.

Powered by Invision Community

Important Information

Terms of Use Privacy Policy

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.