[Gd-hackers] koala changes
Carl Gay
carlgay at gmail.com
Sun Jan 21 19:20:13 CET 2007
Hmm. I don't see how a macro will help. I think I'll just go with
the subclass-as-configuration approach and see how it works out.
-Carl
On 1/18/07, Peter Robisch <peter.robisch at gmx.net> wrote:
> Carl wrote:
> > This approach makes me feel a bit dirty for some reason. :-)
>
> Could not be Dylan's macro feature provide a clean solution?
>
>
> Some macro like (only a draft!!)
>
> define configurated-http-server (server)
> port := 8001; // optional
> xml-rpc-enabled? := #t;
> register-url('/foo', my-responder);
> register-xml-rpc-method("blah", blah);
> end define http-server-configuration
>
> let server = make(<configurated-http-server>)
> start-server(server); // returns immediately. optionally waits.
>
>
> Pet-ro
More information about the hackers
mailing list