From: skibud2
Subject: Need some quick help (Anyone can help)
Date: 
Message-ID: <1191877062.866625.214700@v3g2000hsg.googlegroups.com>
I want to get the results for the following for each version of common
lisp

(sort '("zyzzyva" "zyzzyvas") #'string<)


For Clisp:
>> ("zyzzyva" "zyzzyvas")

For SBCL:
>> ??

For CMUCL:
>> ??

For Allegro:
>> ??

Thanks guys!

Mike

From: Dimiter "malkia" Stanev
Subject: Re: Need some quick help (Anyone can help)
Date: 
Message-ID: <5mvkqdFfc0hcU1@mid.individual.net>
ACL81 (Win32):
	CG-USER(1): (sort '("zyzzyva" "zyzzyvas") #'string<)
	("zyzzyva" "zyzzyvas")

GNU CLISP 2.41 (2006-10-13) (Win32):
	[1]> (sort '("zyzzyva" "zyzzyvas") #'string<)
	("zyzzyva" "zyzzyvas")

Lispworks 5.0.2 (Win32):
	CL-USER 1 > (sort '("zyzzyva" "zyzzyvas") #'string<)
	("zyzzyva" "zyzzyvas")

skibud2 wrote:
> I want to get the results for the following for each version of common
> lisp
> 
> (sort '("zyzzyva" "zyzzyvas") #'string<)
> 
> 
> For Clisp:
>>> ("zyzzyva" "zyzzyvas")
> 
> For SBCL:
>>> ??
> 
> For CMUCL:
>>> ??
> 
> For Allegro:
>>> ??
> 
> Thanks guys!
> 
> Mike
> 
From: Bob Felts
Subject: Re: Need some quick help (Anyone can help)
Date: 
Message-ID: <1i5olcd.ko2daw9wczy8N%wrf3@stablecross.com>
skibud2 <·············@gmail.com> wrote:

> I want to get the results for the following for each version of common
> lisp
> 
> (sort '("zyzzyva" "zyzzyvas") #'string<)
> 

I see you wrote this before Ranier mentioned that you shouldn't sort a
constant.  The expression should be:

   (sort (list "zyzzyva" "zyzzyvas") #'string<)

> 
> For Clisp:
> >> ("zyzzyva" "zyzzyvas")
> 
> For SBCL:
> >> ??

("zyzzyva" "zyzzyvas")

> 
> For CMUCL:
> >> ??
> 
> For Allegro:
> >> ??
> 
> Thanks guys!
> 
> Mike
From: Timofei Shatrov
Subject: Re: Need some quick help (Anyone can help)
Date: 
Message-ID: <470b3e6d.350301687@news.readfreenews.net>
On Mon, 08 Oct 2007 20:57:42 -0000, skibud2 <·············@gmail.com> tried to
confuse everyone with this message:

>I want to get the results for the following for each version of common
>lisp
>
>(sort '("zyzzyva" "zyzzyvas") #'string<)
>
>
>For Clisp:
>>> ("zyzzyva" "zyzzyvas")
>

Don't worry, every other Common Lisp will return the same thing.

-- 
|Don't believe this - you're not worthless              ,gr---------.ru
|It's us against millions and we can't take them all... |  ue     il   |
|But we can take them on!                               |     @ma      |
|                       (A Wilhelm Scream - The Rip)    |______________|
From: Thomas A. Russ
Subject: Re: Need some quick help (Anyone can help)
Date: 
Message-ID: <ymilkab4uos.fsf@blackcat.isi.edu>
skibud2 <·············@gmail.com> writes:

> I want to get the results for the following for each version of common
> lisp
> 
> (sort '("zyzzyva" "zyzzyvas") #'string<)

Why?
Are you trying to test conformance with the standard?

The correct behavior (modulo not modifying a constant) is mandated by
the ANSI standard.

-- 
Thomas A. Russ,  USC/Information Sciences Institute