diff options
| author | Mattias EngdegÄrd | 2024-03-10 13:18:22 +0100 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2024-03-22 21:50:01 +0100 |
| commit | 72d4e3a9d26c5a19b7263359107eb4bff4527da2 (patch) | |
| tree | fdea00dca8d194b604d153c59e58e4c3a4060dc8 /admin/notes/java | |
| parent | c1530a2e4973005633ebe00d447f1f3aa1200301 (diff) | |
| download | emacs-72d4e3a9d26c5a19b7263359107eb4bff4527da2.tar.gz emacs-72d4e3a9d26c5a19b7263359107eb4bff4527da2.zip | |
Add value< (bug#69709)
It's a general-purpose polymorphic ordering function, like `<` but
for any two values of the same type.
* src/data.c (syms_of_data): Add the `type-mismatch` error.
* src/fns.c (Fstring_lessp): Extract the bulk of this function to...
(string_cmp): ...this 3-way comparison function, for use elsewhere.
(value_cmp, Fvaluelt): New.
* test/src/fns-tests.el (fns-value<-ordered, fns-value<-unordered)
(fns-value<-type-mismatch, fns-value<-symbol-with-pos)
(fns-value<-circle): New tests.
Diffstat (limited to 'admin/notes/java')
0 files changed, 0 insertions, 0 deletions