scsh-users
[Top] [All Lists]

parse-optional definition?

To: scsh@martigny.ai.mit.edu
Subject: parse-optional definition?
From: Jon Buller <jonb@metronet.com>
Date: Sun, 21 Sep 1997 21:40:20 -0500
I was trying to run su-httpd.scm over the past few days, and I ran
into a small problem.  the httpd code claims that it needs a function
called parse-optionals from scsh-utilities, however, typing
   tar zxvf scsh-0.5.1.tar.gz
   find scsh-0.5.1 -print | xargs grep parse-optionals
returns no matches at all.

Can someone mail me the definition for parse-optionals, or tell me what
it's interface is?  I guessed that it should be something like:
   (if (= (length args) 0) (values def1 def2...)
     (if (= (length args) 1) (values (car args) def2...)
       ...
but this didn't seem to work quite right.  Hints appreciated,

Jon Buller

<Prev in Thread] Current Thread [Next in Thread>
  • parse-optional definition?, Jon Buller <=