Subject: Re: Keyword arguments... From: James Clark <jjc@xxxxxxxxxx> Date: Thu, 06 Aug 1998 23:00:37 +0700 |
Norman Walsh wrote: > > Is it the case, as it appears to be, that in user-defined > functions with keyword arguments, the keyword arguments must > always appear last? Yes. > I'd like to define a function, "make-element", so that it could > be used just like the sgml backend's "make element" function. > > (make-element gi: "foo" attributes: '() some-sosofo) > > But it seems I'm stuck with either > > (make-element some-sosofo gi: "foo" attributes: '()) > > or > > (make-element gi: "foo" attributes: '() sosofo: some-sosofo) > > Is that the case, or am I overlooking something? Maybe declare-flow-object-macro will help. See dsssl2.htm. James DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Keyword arguments..., Brandon Ibach | Thread | SUMMARY Re: Keyword arguments..., Norman Walsh |
Re: Keyword arguments..., Brandon Ibach | Date | SUMMARY Re: Keyword arguments..., Norman Walsh |
Month |