You do realise a list-sort will not work with a procedure returning a
constant value?

IOW if (comparer A B) => #t, then (comparer B A) => #f

On Thu, May 21, 2009 at 8:23 AM, Ramana Kumar <[email protected]>wrote:

> Can you help me think of situations in which replacing (lambda ()
> (null? '())) by (lambda () #t) produces different behavior in a
> program? lambda, quote, and null? are from (rnrs) and the change is
> occurring in the procedure passed to list-sort. I would rather not
> post my complete program just yet because it's quite long, and I want
> to pinpoint the exact issue... but let me know if there are pertinent
> details I can supply.
>



-- 
http://codeplex.com/IronScheme
http://xacc.wordpress.com

Reply via email to