|
Subject: Re: Numbering sections - erratum From: Paul Prescod <papresco@xxxxxxxxxxxxxxxx> Date: Tue, 11 Nov 1997 08:48:19 -0500 |
Richard Light wrote:
> Can anyone advise how you pass a list of strings as an argument in this
> way? Jade complains about the 'gilist' within the (case ...) statement
> when I use the syntax above since it is trying to interpret it as a
> procedure. However, if I protect it by putting it inside a (list ...)
> procedure:
I think that this will do the same thing:
(define (preced-count node gilist)
(node-list-length
(node-list-filter
(lambda (n1)
(member (gi n1) gilist))
(preced node))))
Paul Prescod
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Numbering sections - erratum, Richard Light | Thread | Re: Numbering sections - erratum, Daniel Speck |
| Numbering sections - erratum, Richard Light | Date | Re: Numbering sections - erratum, Daniel Speck |
| Month |