Wiki
Download
Manual
Eggs
API
Tests
Bugs
show
edit
history
You can edit this page using
wiki syntax
for markup.
Article contents:
== Outdated egg! This is an egg for CHICKEN 3, the unsupported old release. You're almost certainly looking for [[/eggref/4/orders|the CHICKEN 4 version of this egg]], if it exists. If it does not exist, there may be equivalent functionality provided by another egg; have a look at the [[https://wiki.call-cc.org/chicken-projects/egg-index-4.html|egg index]]. Otherwise, please consider porting this egg to the current version of CHICKEN. [[tags: egg]] == orders === Introduction The orders egg provides functions useful for defining orders for sorting. This documentation is incomplete. === Dependencies {{srfi-13}} === Procedures <procedure>(cmp-key cmp key)</procedure> Generates an ordering procedure that applies the 'key' proc to both sort candidates, and compares the resulting keys using the 'cmp' procedure. E.g. to sort a list of integers based on their value modulo-10: (sort my-numbers (cmp-key < (cut modulo <> 10))) <procedure>(key-string< key)</procedure> Generates an ordering procedure (see {{cmp-key}}) that sorts strings using string< (defined in SRFI-13). === Not yet documented <procedure>(key< key)</procedure> <procedure>(key> key)</procedure> <procedure>(order . cmps)</procedure> <procedure>(sort-key-cache alist cmp key)</procedure> <procedure>(pick< alist order<)</procedure> <procedure>(pick> alist order>)</procedure>
Description of your changes:
I would like to authenticate
Authentication
Username:
Password:
Spam control
What do you get when you subtract 9 from 13?