Forums before death by AOL, social media and spammers... "We can't have nice things"
|    sci.lang    |    Natural languages, communication, etc    |    297,461 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 296,045 of 297,461    |
|    B. Pym to HenHanna    |
|    Re: (in Python) given a list of candidat    |
|    10 Jul 24 16:26:58    |
      XPost: comp.lang.lisp, comp.lang.misc       From: NoSpam_762@not_there.org              HenHanna wrote:              >       > (in Python) let's say i have a list of candidates       > like this       > a= [ (12, "Data1"), (5, "data"), (4, "..."), ...]       >       > and i want to find the Tuple with the Min (1st) tag value.       >       > in Python that's what min() gives, by default.       >       > min(a)       >       >       > Is this the same in Scheme(Gauche) ?                     (use gauche.collection) ;; find-min              (find-min        '[(12 "Data1") (5 "data") (4 "...")]        :key car)               ===>       (4 "...")              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca