Re: Iteration with named let

Subject: Re: Iteration with named let
From: Vivek Agrawala <vivek@xxxxxxxxxxxxxxx>
Date: Tue, 24 Jun 1997 17:24:33 -0400
W. Eliot Kimber wrote:
> 
> There's probably an easier way, except that Jade doesn't support
> match-element?.

While Jade doesn't currently have match-element?, it does have
select-elements. match-element? can be defined as follows:

(define (match-element? pattern snl)
  (if (node-list-empty? (select-elements snl pattern))  #f  #t))


-- Vivek Agrawala
Siemens Corporate Research, Inc.	email: vivek@xxxxxxxxxxxxxxx

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


Current Thread