On Wed, 23 Aug 2017 22:05:37 -0800 Christopher Howard <christopher.how...@qlfiles.net> wrote: > Hi, in another lisp I have been working with, it has <, >, and == > (structure equality) operators which can take string arguments, number > arguments, or a mixture of both. But it seems in guile that there are > separate comparison operators for strings and for numbers. This makes > sense but is not very convenient for my present purpose. Is there some > other guile operators or extension operators that will handle both? I > could make some I'm sure, but I don't want to reinvent the wheel.
The predicate equal? will compare numbers, strings and records. https://www.gnu.org/software/guile/docs/master/guile.html/Equality.html#index-equal_003f Chris