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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Problems with attributes., Brandon Ibach | Thread | Re: Problems with attributes., Brandon Ibach |
Re: Hopefully simple -- include a q, Matthias Clasen | Date | Re: Problems with attributes., Christopher R. Maden |
Month |