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.

lisp-help needed

Featured Replies

hi all

 

i need a little lisp-help...

 

i want to split things like this perhaps 'an3 into '(a n 3)

is there a way?

 

thanx

andré

  • Author

thanx, but i see my idea don't work with that...

concrete: i want to split 2/20 into exactly '(2 20) 

 

function with numerator/denominator it will be '(1 10) - not what i need

 

also with (explode '2/20) => (1 / 1 0)

 

is there any solution?

  • Author

i know, but only mathematically!! -> you remember the problem with gen-stacc? => we discussed that with rangarajan?

for some functions it's necessary that 2/20 will not be "reduced" to 1/20

 

=> https://opusmodus.com/forums/topic/528-gen-stacc-question/#comment-1446

 

Quote

Yes, I have also experienced this difficulty, for example, can't distinguish between 4/4 and 2/2 because both reduce to 1! As JP points out, this is a Lisp issue, nothing to do with OM. If we are adventurous, we could implement our own "data type", for example keeping numerator and denominator separately as a cons pair (numerator . denominator) or something similar. We can write a set of functions that operate on this, and then apply reduction when actually needed. More work, of course, but Lisp gives you control.

 

Regards,

Rangarajan

 

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.