Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Scheme > Re: Sort a list...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 17 Topic 4626 of 4790
Post > Topic >>

Re: Sort a list of dotted pairs

by leppie <xacc.ide@[EMAIL PROTECTED] > Jul 24, 2008 at 05:55 AM

Enough of the spoonfeeding, hopefully he figured it out by now (Aziz
pretty much gave 99% of the answer), but here goes:

(list-sort (lambda (a b) (< (car a) (car b))) '((1 . a)(4 . d)(2 . b)
(5 . e)(3 . c)))
 




 17 Posts in Topic:
Sort a list of dotted pairs
BastiL2001@[EMAIL PROTECT  2008-07-23 08:20:08 
Re: Sort a list of dotted pairs
Grant Rettke <grettke@  2008-07-23 10:05:04 
Re: Sort a list of dotted pairs
pjb@[EMAIL PROTECTED] (P  2008-07-23 19:35:13 
Re: Sort a list of dotted pairs
Abdulaziz Ghuloum <agh  2008-07-23 11:51:56 
Re: Sort a list of dotted pairs
"Kjetil S. Matheusse  2008-07-24 10:25:16 
Re: Sort a list of dotted pairs
"Kjetil S. Matheusse  2008-07-24 12:59:28 
Re: Sort a list of dotted pairs
pjb@[EMAIL PROTECTED] (P  2008-07-24 14:36:45 
Re: Sort a list of dotted pairs
leppie <xacc.ide@[EMAI  2008-07-24 05:52:43 
Re: Sort a list of dotted pairs
leppie <xacc.ide@[EMAI  2008-07-24 05:55:43 
Re: Sort a list of dotted pairs
Grant Rettke <grettke@  2008-07-24 06:29:16 
Re: Sort a list of dotted pairs
"Kjetil S. Matheusse  2008-07-24 16:24:53 
Re: Sort a list of dotted pairs
pjb@[EMAIL PROTECTED] (P  2008-07-24 16:27:20 
Re: Sort a list of dotted pairs
"Kjetil S. Matheusse  2008-07-24 16:25:24 
Re: Sort a list of dotted pairs
leppie <xacc.ide@[EMAI  2008-07-24 07:46:52 
Re: Sort a list of dotted pairs
leppie <xacc.ide@[EMAI  2008-07-24 07:51:28 
Re: Sort a list of dotted pairs
Grant Rettke <grettke@  2008-07-24 08:43:25 
Re: Sort a list of dotted pairs
"Kjetil S. Matheusse  2008-07-24 18:09:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 9:09:37 CDT 2008.