|
From: | Sam Steingold |
Subject: | Re: lexicographic list comparison |
Date: | Mon, 12 Sep 2022 14:41:47 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) |
> * Stefan Monnier <zbaavre@veb.hzbagerny.pn> [2022-09-12 14:31:33 -0400]: > > [ Tho I suspect you'll want those comparison functions to return > a -1/0/1 result rather than just a boolean, so you'd need an extra > combinator to turn such a comparison function into the kind expected > by `sort`. ] The predicate argument to lisp sort returns a boolean. -- Sam Steingold (https://aphar.dreamwidth.org/) on darwin Ns 10.3.2113 https://lastingimpactpsychology.com https://steingoldpsychology.com https://jihadwatch.org https://www.dhimmitude.org https://iris.org.il You won't get smarter by calling me a fool.
[Prev in Thread] | Current Thread | [Next in Thread] |