Re: Problems with attributes.

Subject: Re: Problems with attributes.
From: Reyes <reyes.garcia@xxxxxxxxxx>
Date: Fri, 22 Oct 1999 08:24:29 +0200
Hello again,

>> I have thougth in this problem, I have try to solve using
>> (node-list-contains? ...) :
>> 
>> (define (node-list-contains? nl snl) 
>>    (node-list-reduce nl (lambda (result i) 
>> 				  (or result (node-list=? snl i))) #f))
>> 
>> but gave me an error in (node-list-reduce ...) [ didn't understand ].
>> 
>   Actually, this looks fine.  What error did you get?
>

	The error is:

	Jade:c:\StarDsssl\Renk-Jade\Little.dsl:53:38:E: 
		reference to undefined variable "node-list-reduce"

>   This looks good, but it won't eliminate all duplicates, as it only
>compares the node-to-be-added to the first node in the result list.
>If you can figure out what's wrong with your node-list-contains?, that
>would be superior.  On that note, Jade 1.3 implements *all* of the
>node-list operations natively.
>
	I know it, but I don't have another solution. If I can solve the problem
with "node-list-reduce" this is better, but I don't know why.
	
>   My pleasure... good luck!
>
>-Brandon :)
>

Thanks, a lot of.
			Reyes


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Re: Problems with attributes., (continued)
      • Reyes - Wed, 20 Oct 1999 05:18:10 -0400 (EDT)
        • Brandon Ibach - Wed, 20 Oct 1999 16:48:24 -0400 (EDT)
        • Reyes - Thu, 21 Oct 1999 08:34:57 -0400 (EDT)
        • Brandon Ibach - Thu, 21 Oct 1999 11:46:16 -0400 (EDT)
        • Reyes - Fri, 22 Oct 1999 02:25:47 -0400 (EDT) <=
        • Brandon Ibach - Fri, 22 Oct 1999 04:08:57 -0400 (EDT)
        • Reyes - Fri, 22 Oct 1999 05:22:23 -0400 (EDT)
        • Reyes - Fri, 22 Oct 1999 05:23:03 -0400 (EDT)
    • Reyes - Wed, 20 Oct 1999 06:07:18 -0400 (EDT)